Ejemplo n.º 1
0
	def execute(self, context):
		s=bpy.context.scene
		operation = s.cam_operations[s.cam_active_operation]
		if operation.object_name in bpy.data.objects:
			utils.positionObject(operation)
		else:
		   print('no object assigned')
		   return {'FINISHED'}
		return {'FINISHED'}
Ejemplo n.º 2
0
 def execute(self, context):
     s = bpy.context.scene
     operation = s.cam_operations[s.cam_active_operation]
     if operation.object_name in bpy.data.objects:
         utils.positionObject(operation)
     else:
         print('no object assigned')
         return {'FINISHED'}
     return {'FINISHED'}