Skip to content
Snippets Groups Projects
Commit cdc90c00 authored by meta-androcto's avatar meta-androcto
Browse files

space_view3d_stored_views: minor bug fix, move to View Tab

parent 682d48ce
Branches
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ bl_info = { ...@@ -22,7 +22,7 @@ bl_info = {
"author": "nfloyd, Francesco Siddi", "author": "nfloyd, Francesco Siddi",
"version": (0, 3, 7), "version": (0, 3, 7),
"blender": (2, 80, 0), "blender": (2, 80, 0),
"location": "View3D > Properties > Stored Views", "location": "View3D > Sidebar > View > Stored Views",
"warning": "", "warning": "",
"wiki_url": "https://wiki.blender.org/index.php/Extensions:2.5/" "wiki_url": "https://wiki.blender.org/index.php/Extensions:2.5/"
"Py/Scripts/3D_interaction/stored_views", "Py/Scripts/3D_interaction/stored_views",
......
...@@ -209,11 +209,11 @@ class VIEW3D_stored_views_import(Operator, ImportHelper): ...@@ -209,11 +209,11 @@ class VIEW3D_stored_views_import(Operator, ImportHelper):
bl_description = "Import a .blsv preset file to the current Stored Views" bl_description = "Import a .blsv preset file to the current Stored Views"
filename_ext = ".blsv" filename_ext = ".blsv"
filter_glob = StringProperty( filter_glob: StringProperty(
default="*.blsv", default="*.blsv",
options={'HIDDEN'} options={'HIDDEN'}
) )
replace = BoolProperty( replace: BoolProperty(
name="Replace", name="Replace",
default=True, default=True,
description="Replace current stored views, otherwise append" description="Replace current stored views, otherwise append"
...@@ -258,12 +258,12 @@ class VIEW3D_stored_views_import_from_scene(Operator): ...@@ -258,12 +258,12 @@ class VIEW3D_stored_views_import_from_scene(Operator):
bl_label = "Import stored views from scene" bl_label = "Import stored views from scene"
bl_description = "Import currently stored views from an another scene" bl_description = "Import currently stored views from an another scene"
scene_name = StringProperty( scene_name: StringProperty(
name="Scene Name", name="Scene Name",
description="A current blend scene", description="A current blend scene",
default="" default=""
) )
replace = BoolProperty( replace: BoolProperty(
name="Replace", name="Replace",
default=True, default=True,
description="Replace current stored views, otherwise append" description="Replace current stored views, otherwise append"
...@@ -306,14 +306,14 @@ class VIEW3D_stored_views_export(Operator, ExportHelper): ...@@ -306,14 +306,14 @@ class VIEW3D_stored_views_export(Operator, ExportHelper):
bl_description = "Export the current Stored Views to a .blsv preset file" bl_description = "Export the current Stored Views to a .blsv preset file"
filename_ext = ".blsv" filename_ext = ".blsv"
filepath = StringProperty( filepath: StringProperty(
default=os.path.join(IO_Utils.get_preset_path()[0], "untitled") default=os.path.join(IO_Utils.get_preset_path()[0], "untitled")
) )
filter_glob = StringProperty( filter_glob: StringProperty(
default="*.blsv", default="*.blsv",
options={'HIDDEN'} options={'HIDDEN'}
) )
preset_name = StringProperty( preset_name: StringProperty(
name="Preset name", name="Preset name",
default="", default="",
description="Name of the stored views preset" description="Name of the stored views preset"
......
...@@ -154,7 +154,7 @@ class VIEW3D_PT_properties_stored_views(Panel): ...@@ -154,7 +154,7 @@ class VIEW3D_PT_properties_stored_views(Panel):
bl_label = "Stored Views" bl_label = "Stored Views"
bl_space_type = "VIEW_3D" bl_space_type = "VIEW_3D"
bl_region_type = "UI" bl_region_type = "UI"
bl_category = "StoredViews" bl_category = "View"
def draw(self, context): def draw(self, context):
self.logger = logging.getLogger('%s Properties panel' % __name__) self.logger = logging.getLogger('%s Properties panel' % __name__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment