File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ def createAnim(self):
6464 print ("\n creating build animation..." )
6565 # initialize vars
6666 scn , ag = getActiveContextInfo ()
67+ self .objects_to_move = [obj for obj in bpy .data .groups [ag .group_name ].objects if obj .type not in props .ignoredTypes ]
6768
6869 # ensure operation can run
6970 if not self .isValid (scn , ag ):
@@ -77,8 +78,6 @@ def createAnim(self):
7778 ag .lastLayerVelocity = getObjectVelocity ()
7879 origGroup = bpy .data .groups [ag .group_name ]
7980 self .origFrame = scn .frame_current
80- # set up origGroup variable
81- self .objects_to_move = [obj for obj in bpy .data .groups [ag .group_name ].objects if obj .type not in props .ignoredTypes ]
8281 if self .action == "UPDATE" :
8382 # set current_frame to animation start frame
8483 scn .frame_set (ag .frameWithOrigLoc )
You can’t perform that action at this time.
0 commit comments