[Bf-extensions-cvs] [b0ba5221] master: NP Station: object select_get syntax update
NBurn
noreply at git.blender.org
Tue Jan 29 01:38:13 CET 2019
Commit: b0ba522141e44cf2ad28128ba35f2130c1dac12b
Author: NBurn
Date: Mon Jan 28 19:37:48 2019 -0500
Branches: master
https://developer.blender.org/rBACb0ba522141e44cf2ad28128ba35f2130c1dac12b
NP Station: object select_get syntax update
===================================================================
M np_station/np_shader_brush.py
===================================================================
diff --git a/np_station/np_shader_brush.py b/np_station/np_shader_brush.py
index ec68bec6..ec832168 100644
--- a/np_station/np_shader_brush.py
+++ b/np_station/np_shader_brush.py
@@ -86,7 +86,7 @@ def draw_callback1_px(self, context):
if self.shader is not None:
hitob.data.materials.append(self.shader)
np_print(hitob.select)
- if hitob.select == True:
+ if hitob.select_get() is True:
np_print('true')
for ob in self.selob:
bpy.context.scene.objects.active = ob
More information about the Bf-extensions-cvs
mailing list