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:
Diffstat (limited to 'release/scripts/templates_py/manipulator_operator.py')
-rw-r--r--release/scripts/templates_py/manipulator_operator.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/release/scripts/templates_py/manipulator_operator.py b/release/scripts/templates_py/manipulator_operator.py
index 0ba871bea84..00b24736b8e 100644
--- a/release/scripts/templates_py/manipulator_operator.py
+++ b/release/scripts/templates_py/manipulator_operator.py
@@ -130,8 +130,12 @@ class SelectSideOfPlaneManipulatorGroup(ManipulatorGroup):
mpr.use_draw_value = True
- mpr.color = 0.8, 0.8, 0.8, 0.5
- mpr.color_highlight = 1.0, 1.0, 1.0, 1.0
+ mpr.color = 0.8, 0.8, 0.8
+ mpr.alpha = 0.5
+
+ mpr.color_highlight = 1.0, 1.0, 1.0
+ mpr.alpha_highlight = 1.0
+
mpr.scale_basis = 0.2
self.widget_grab = mpr
@@ -162,8 +166,11 @@ class SelectSideOfPlaneManipulatorGroup(ManipulatorGroup):
mpr.use_draw_value = True
- mpr.color = 0.8, 0.8, 0.8, 0.5
+ mpr.color = 0.8, 0.8, 0.8
+ mpr.alpha = 0.5
+
mpr.color_highlight = 1.0, 1.0, 1.0, 1.0
+ mpr.alpha_highlight = 1.0
self.widget_dial = mpr