scene.update() rna function, so operators and data thats tagged for update get their data updated.
dont show popup for 'Load Factory Settings'
This commit is contained in:
@@ -90,6 +90,8 @@ class INFO_MT_file(bpy.types.Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.operator("screen.userpref_show", text="User Preferences...", icon='PREFERENCES')
|
||||
|
||||
layout.operator_context = 'EXEC_AREA'
|
||||
layout.operator("wm.read_homefile", text="Load Factory Settings").factory = True
|
||||
|
||||
layout.separator()
|
||||
|
Reference in New Issue
Block a user