NP Station: object select_get syntax update
authorNBurn <7nburn@gmail.com>
Tue, 29 Jan 2019 00:37:48 +0000 (19:37 -0500)
committerNBurn <7nburn@gmail.com>
Tue, 29 Jan 2019 00:37:48 +0000 (19:37 -0500)
np_station/np_shader_brush.py

index ec68bec..ec83216 100644 (file)
@@ -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