fix: export menu label name

This commit is contained in:
Swann 2020-12-17 14:04:00 +01:00
parent d0dc61bf66
commit 03b92eb5e7
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -848,7 +848,7 @@ class SessionLoadGraphOperator(bpy.types.Operator, ImportHelper):
return True return True
def menu_func_import(self, context): def menu_func_import(self, context):
self.layout.operator(SessionLoadGraphOperator.bl_idname, text='Multi-user database (.db)') self.layout.operator(SessionLoadGraphOperator.bl_idname, text='Multi-user session snapshot (.db)')
classes = ( classes = (
@ -935,7 +935,7 @@ def depsgraph_evaluation(scene):
def register(): def register():
from bpy.utils import register_class from bpy.utils import register_class
for cls in classes: for cls in classes:
register_class(cls) register_class(cls)
bpy.app.handlers.undo_post.append(sanitize_deps_graph) bpy.app.handlers.undo_post.append(sanitize_deps_graph)