add ABR brushes and presets with properties and patterns
This commit is contained in:
@@ -74,6 +74,7 @@ public class MainActivity extends NativeActivity {
|
||||
Log.v("PanoPainterJava", "create path failed: " + frames.getAbsolutePath());
|
||||
|
||||
}
|
||||
// brushes
|
||||
File brushes = new File(pano_dir.getAbsolutePath(), "brushes");
|
||||
if (!brushes.exists())
|
||||
{
|
||||
@@ -92,6 +93,26 @@ public class MainActivity extends NativeActivity {
|
||||
Log.v("PanoPainterJava", "create path failed: " + brush_thumbs.getAbsolutePath());
|
||||
|
||||
}
|
||||
// patterns
|
||||
File patterns = new File(pano_dir.getAbsolutePath(), "brushes");
|
||||
if (!patterns.exists())
|
||||
{
|
||||
if (patterns.mkdirs())
|
||||
Log.v("PanoPainterJava", "create path " + patterns.getAbsolutePath());
|
||||
else
|
||||
Log.v("PanoPainterJava", "create path failed: " + patterns.getAbsolutePath());
|
||||
|
||||
}
|
||||
File patterns_thumbs = new File(patterns.getAbsolutePath(), "thumbs");
|
||||
if (!patterns_thumbs.exists())
|
||||
{
|
||||
if (patterns_thumbs.mkdirs())
|
||||
Log.v("PanoPainterJava", "create path " + patterns_thumbs.getAbsolutePath());
|
||||
else
|
||||
Log.v("PanoPainterJava", "create path failed: " + patterns_thumbs.getAbsolutePath());
|
||||
|
||||
}
|
||||
// settings
|
||||
File settings = new File(pano_dir.getAbsolutePath(), "settings");
|
||||
if (!settings.exists())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user