space_view3d_stored_views: minor bug fix, move to View Tab
This commit is contained in:
parent
682d48cefc
commit
cdc90c0079
|
@ -22,7 +22,7 @@ bl_info = {
|
|||
"author": "nfloyd, Francesco Siddi",
|
||||
"version": (0, 3, 7),
|
||||
"blender": (2, 80, 0),
|
||||
"location": "View3D > Properties > Stored Views",
|
||||
"location": "View3D > Sidebar > View > Stored Views",
|
||||
"warning": "",
|
||||
"wiki_url": "https://wiki.blender.org/index.php/Extensions:2.5/"
|
||||
"Py/Scripts/3D_interaction/stored_views",
|
||||
|
|
|
@ -209,11 +209,11 @@ class VIEW3D_stored_views_import(Operator, ImportHelper):
|
|||
bl_description = "Import a .blsv preset file to the current Stored Views"
|
||||
|
||||
filename_ext = ".blsv"
|
||||
filter_glob = StringProperty(
|
||||
filter_glob: StringProperty(
|
||||
default="*.blsv",
|
||||
options={'HIDDEN'}
|
||||
)
|
||||
replace = BoolProperty(
|
||||
replace: BoolProperty(
|
||||
name="Replace",
|
||||
default=True,
|
||||
description="Replace current stored views, otherwise append"
|
||||
|
@ -258,12 +258,12 @@ class VIEW3D_stored_views_import_from_scene(Operator):
|
|||
bl_label = "Import stored views from scene"
|
||||
bl_description = "Import currently stored views from an another scene"
|
||||
|
||||
scene_name = StringProperty(
|
||||
scene_name: StringProperty(
|
||||
name="Scene Name",
|
||||
description="A current blend scene",
|
||||
default=""
|
||||
)
|
||||
replace = BoolProperty(
|
||||
replace: BoolProperty(
|
||||
name="Replace",
|
||||
default=True,
|
||||
description="Replace current stored views, otherwise append"
|
||||
|
@ -306,14 +306,14 @@ class VIEW3D_stored_views_export(Operator, ExportHelper):
|
|||
bl_description = "Export the current Stored Views to a .blsv preset file"
|
||||
|
||||
filename_ext = ".blsv"
|
||||
filepath = StringProperty(
|
||||
filepath: StringProperty(
|
||||
default=os.path.join(IO_Utils.get_preset_path()[0], "untitled")
|
||||
)
|
||||
filter_glob = StringProperty(
|
||||
filter_glob: StringProperty(
|
||||
default="*.blsv",
|
||||
options={'HIDDEN'}
|
||||
)
|
||||
preset_name = StringProperty(
|
||||
preset_name: StringProperty(
|
||||
name="Preset name",
|
||||
default="",
|
||||
description="Name of the stored views preset"
|
||||
|
|
|
@ -154,7 +154,7 @@ class VIEW3D_PT_properties_stored_views(Panel):
|
|||
bl_label = "Stored Views"
|
||||
bl_space_type = "VIEW_3D"
|
||||
bl_region_type = "UI"
|
||||
bl_category = "StoredViews"
|
||||
bl_category = "View"
|
||||
|
||||
def draw(self, context):
|
||||
self.logger = logging.getLogger('%s Properties panel' % __name__)
|
||||
|
|
Loading…
Reference in New Issue