[Bf-blender-cvs] [c20e6ee66f1] soc-2018-npr: UI fixed. active_layer is working now
Nick Wu
noreply at git.blender.org
Thu Jun 21 09:57:40 CEST 2018
Commit: c20e6ee66f161872e1caa059f02b46901598e588
Author: Nick Wu
Date: Thu Jun 21 10:44:21 2018 +0800
Branches: soc-2018-npr
https://developer.blender.org/rBc20e6ee66f161872e1caa059f02b46901598e588
UI fixed. active_layer is working now
===================================================================
M release/scripts/startup/bl_ui/properties_scene.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 22b4f4809c2..929f06a0725 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -524,11 +524,11 @@ class SCENE_PT_lanpr(SceneButtonsPanel, PropertyPanel, Panel):
split = layout.split()
col = split.column()
- col.prop(active_layer, "color")
+ col.prop(active_layer, "color", text="")
col = split.column()
- layout.prop(active_layer, "thickness")
+ col.prop(active_layer, "thickness")
- if lanpr.line_thickness > 0.01:
+ if active_layer.thickness > 0.01:
col = layout.column()
col.label(text="Enable:")
row = col.row(align=True)
More information about the Bf-blender-cvs
mailing list