[Bf-blender-cvs] [86bb0d1] master: MakeDupliFace: select new objects
Campbell Barton
noreply at git.blender.org
Sun Jun 7 09:44:58 CEST 2015
Commit: 86bb0d1a3555bb0167d02fbcbdcdd04b277a1794
Author: Campbell Barton
Date: Sun Jun 7 17:44:25 2015 +1000
Branches: master
https://developer.blender.org/rB86bb0d1a3555bb0167d02fbcbdcdd04b277a1794
MakeDupliFace: select new objects
===================================================================
M release/scripts/startup/bl_operators/object.py
===================================================================
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py
index df41f50..b89890a 100644
--- a/release/scripts/startup/bl_operators/object.py
+++ b/release/scripts/startup/bl_operators/object.py
@@ -644,6 +644,9 @@ class MakeDupliFace(Operator):
ob_new.use_dupli_faces_scale = True
ob_new.dupli_faces_scale = 1.0 / SCALE_FAC
+ ob_inst.select = True
+ ob_new.select = True
+
def execute(self, context):
self._main(context)
return {'FINISHED'}
More information about the Bf-blender-cvs
mailing list