def execute(self, context): startLog(self) mass = generalUtils.calculateSum(bpy.context.selected_objects, 'mass') log("The calculated mass is: " + str(mass), "INFO") endLog() return {'FINISHED'}
def execute(self, context): mass = gUtils.calculateSum(context.selected_objects, 'mass') log("The calculated mass is: " + str(mass), "INFO") return {'FINISHED'}