fix combobox issue, pad scissor by 1px
This commit is contained in:
@@ -1968,7 +1968,7 @@ void Canvas::export_cube_faces_thread(std::string file_name)
|
||||
pb->increment();
|
||||
|
||||
#ifdef __IOS__
|
||||
save_image_library(name);
|
||||
save_image_library(path);
|
||||
#endif
|
||||
#ifdef __OBJC__
|
||||
[files addObject : [NSString stringWithUTF8String:path.c_str()] ];
|
||||
@@ -1980,10 +1980,10 @@ void Canvas::export_cube_faces_thread(std::string file_name)
|
||||
#ifdef __OBJC__
|
||||
static char name[128];
|
||||
sprintf(name, "%s.zip", App::I->work_path.c_str());
|
||||
auto zip_path = [NSString stringWithUTF8String : name];
|
||||
auto zip_path = [NSString stringWithUTF8String:name];
|
||||
//[SSZipArchive createZipFileAtPath:zip_path withFilesAtPaths:files];
|
||||
for (NSString* f : files)
|
||||
[[NSFileManager defaultManager] removeItemAtPath:f error:nil];
|
||||
//for (NSString* f : files)
|
||||
// [[NSFileManager defaultManager] removeItemAtPath:f error:nil];
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user