Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-25 13:20:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-25 13:20:41 +0300
commit7eb5504d79303efb2c9115db3aa033adeab2944c (patch)
treeed536ea3e2049b4d1e791ce0822ab5ec6166f9f4 /release/scripts/ui
parent5844560ec2384f2e1208fdd6c2298df048c18461 (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.py2
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()