Changeset View
Changeset View
Standalone View
Standalone View
mocap/__init__.py
| Context not available. | |||||
| activeIsArmature = isinstance(context.active_object.data, bpy.types.Armature) | activeIsArmature = isinstance(context.active_object.data, bpy.types.Armature) | ||||
| if activeIsArmature: | if activeIsArmature: | ||||
| stitch_settings = context.active_object.data.stitch_settings | stitch_settings = context.active_object.data.stitch_settings | ||||
| return (stitch_settings.first_action and stitch_settings.second_action) | return stitch_settings.first_action and stitch_settings.second_action | ||||
| return False | return False | ||||
| Context not available. | |||||
| activeIsArmature = isinstance(context.active_object.data, bpy.types.Armature) | activeIsArmature = isinstance(context.active_object.data, bpy.types.Armature) | ||||
| if activeIsArmature: | if activeIsArmature: | ||||
| stitch_settings = context.active_object.data.stitch_settings | stitch_settings = context.active_object.data.stitch_settings | ||||
| return (stitch_settings.first_action and stitch_settings.second_action) | return stitch_settings.first_action and stitch_settings.second_action | ||||
| return False | return False | ||||
| Context not available. | |||||