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:
Campbell Barton
2010-01-25 10:20:41 +00:00
parent 5844560ec2
commit 7eb5504d79
2 changed files with 5 additions and 0 deletions

View File

@@ -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()