[Durian-svn] [4839] A bunch of updates ( the replace by active script now also works with empties)

dolf institute at blender.org
Wed Jun 9 18:46:19 CEST 2010


Revision: 4839
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=4839
Author:   dolf
Date:     2010-06-09 18:46:18 +0200 (Wed, 09 Jun 2010)
Log Message:
-----------
A bunch of updates (the replace by active script now also works with empties)

Modified Paths:
--------------
    pro/env_quest/bamboo_forest.blend
    pro/props_quest/bamboo.blend
    pro/props_quest/butterfly.blend
    pro/props_quest/textures/bamboo_leaves.png
    pro/scenes/05.2_bamboo/05.2a_comp.blend
    pro/scripts/ui/replace_by_active.py

Modified: pro/env_quest/bamboo_forest.blend
===================================================================
(Binary files differ)

Modified: pro/props_quest/bamboo.blend
===================================================================
(Binary files differ)

Modified: pro/props_quest/butterfly.blend
===================================================================
(Binary files differ)

Modified: pro/props_quest/textures/bamboo_leaves.png
===================================================================
(Binary files differ)

Modified: pro/scenes/05.2_bamboo/05.2a_comp.blend
===================================================================
(Binary files differ)

Modified: pro/scripts/ui/replace_by_active.py
===================================================================
--- pro/scripts/ui/replace_by_active.py	2010-06-09 16:44:42 UTC (rev 4838)
+++ pro/scripts/ui/replace_by_active.py	2010-06-09 16:46:18 UTC (rev 4839)
@@ -51,7 +51,8 @@
 
         obn = actOb.copy()
         scene.objects.link(obn)
-        obn.data = obn.data.copy()
+        if obn.type != 'EMPTY':
+            obn.data = obn.data.copy()
         
         actOb = scene.objects.active
         



More information about the Durian-svn mailing list