diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-25 13:20:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-25 13:20:41 +0300 |
commit | 7eb5504d79303efb2c9115db3aa033adeab2944c (patch) | |
tree | ed536ea3e2049b4d1e791ce0822ab5ec6166f9f4 /release/scripts/ui | |
parent | 5844560ec2384f2e1208fdd6c2298df048c18461 (diff) |
scene.update() rna function, so operators and data thats tagged for update get their data updated.
dont show popup for 'Load Factory Settings'
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/space_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py index e0fb1b3e8a1..fb9f0f278b3 100644 --- a/release/scripts/ui/space_info.py +++ b/release/scripts/ui/space_info.py @@ -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() |