This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('[data-target]' ).click(function() { | |
| var target = $(this).data('target'); | |
| if (target == 'parent') { | |
| target = $(this).parent(); | |
| } else if (target == 'child' || target == 'children') { | |
| target = $(this).children(); | |
| } else if (target == 'sibling' || target == 'siblings') { | |
| target = $(this).siblings(); | |
| } | |
| var change = $(this).data('change'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| import mathutils | |
| class Converter: | |
| def __init__(self, ob, logging=False): | |
| self.ob = ob | |
| self.action = ob.animation_data.action | |
| self.rot_mode = ob.rotation_mode | |
| self.logging = logging |