io_scene_3ds: Update for Blender 3.x #2
@ -112,7 +112,7 @@ def register():
|
|||||||
description="Workspace used for changing drawings")
|
description="Workspace used for changing drawings")
|
||||||
|
|
||||||
Scene.storypencil_base_scene = PointerProperty(type=Scene,
|
Scene.storypencil_base_scene = PointerProperty(type=Scene,
|
||||||
description="Base Scene used for creating new scenes")
|
description="Template Scene used for creating new scenes")
|
||||||
|
|
||||||
Scene.storypencil_render_render_path = StringProperty(name="Output Path", subtype='FILE_PATH', maxlen=256,
|
Scene.storypencil_render_render_path = StringProperty(name="Output Path", subtype='FILE_PATH', maxlen=256,
|
||||||
description="Directory/name to save files")
|
description="Directory/name to save files")
|
||||||
|
@ -85,7 +85,7 @@ def draw_new_scene(self, context):
|
|||||||
|
|
||||||
self.layout.operator_context = 'INVOKE_REGION_WIN'
|
self.layout.operator_context = 'INVOKE_REGION_WIN'
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
row.operator(STORYPENCIL_OT_NewScene.bl_idname, text="New Base Scene")
|
row.operator(STORYPENCIL_OT_NewScene.bl_idname, text="New Template Scene")
|
||||||
|
|
||||||
|
|
||||||
def setup_storyboard(self, context):
|
def setup_storyboard(self, context):
|
||||||
|
@ -208,4 +208,4 @@ class STORYPENCIL_PT_SettingsNew(Panel):
|
|||||||
row = layout.row()
|
row = layout.row()
|
||||||
if scene.storypencil_base_scene is None:
|
if scene.storypencil_base_scene is None:
|
||||||
row.alert = True
|
row.alert = True
|
||||||
row.prop(scene, "storypencil_base_scene", text="Base Scene")
|
row.prop(scene, "storypencil_base_scene", text="Template Scene")
|
||||||
|
Reference in New Issue
Block a user