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:
authorXiao Xiangquan <xiaoxiangquan@gmail.com>2011-06-24 07:30:50 +0400
committerXiao Xiangquan <xiaoxiangquan@gmail.com>2011-06-24 07:30:50 +0400
commitb429af10d04d727574eb50a7186e8075ae8fb0b8 (patch)
treedae073488e49cb2a4107d3fe2d553711496bf4f9 /release/scripts/startup/bl_ui/space_view3d.py
parent9a2f36b50f818c0c1b659363a1df298f7043e207 (diff)
merge from trunk #37722
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 76748e61640..6a518e15f95 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -20,6 +20,7 @@
import bpy
from blf import gettext as _
+
class VIEW3D_HT_header(bpy.types.Header):
bl_space_type = 'VIEW_3D'
@@ -98,6 +99,8 @@ class VIEW3D_HT_header(bpy.types.Header):
row.prop(toolsettings, "use_snap_peel_object", text="")
elif toolsettings.snap_element == 'FACE':
row.prop(toolsettings, "use_snap_project", text="")
+ if toolsettings.use_snap_project and obj.mode == 'EDIT':
+ row.prop(toolsettings, "use_snap_project_self", text="")
# OpenGL render
row = layout.row(align=True)