added a 40s timeout on frame analisys
0.5.7 - added: timeout on scene plit and autocrop border to avoid freezing blender - ui: minor correction
This commit is contained in:
+5
-2
@@ -93,7 +93,7 @@ class GPEXP_OT_add_objects_to_render(bpy.types.Operator):
|
||||
class GPEXP_OT_split_to_scene(bpy.types.Operator):
|
||||
bl_idname = "gp.split_to_scene"
|
||||
bl_label = "Split Objects To Scene"
|
||||
bl_description = "Take selected objects and send them to separate scene"
|
||||
bl_description = "Take selected objects and send them to separate scene\n(new scene is named after active object)"
|
||||
bl_options = {"REGISTER"}
|
||||
|
||||
@classmethod
|
||||
@@ -103,7 +103,10 @@ class GPEXP_OT_split_to_scene(bpy.types.Operator):
|
||||
mode : bpy.props.StringProperty(default='ALL', options={'SKIP_SAVE'})
|
||||
|
||||
def execute(self, context):
|
||||
fn.split_object_to_scene()
|
||||
err = fn.split_object_to_scene()
|
||||
if err:
|
||||
self.report({'ERROR'}, err)
|
||||
return {"CANCELLED"}
|
||||
return {"FINISHED"}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user