Skip to content

Commit e354c81

Browse files
committed
anim_utils: autokey when keyframe revert behavior #501
1 parent c46a04f commit e354c81

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

release/scripts/mgear/core/anim_utils.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,11 +1146,14 @@ def _get_mth(name):
11461146
_all_controls.extend(foot_fk)
11471147

11481148
# if already keyframe we always set keyframes
1149-
if not key:
1150-
for c in _all_controls:
1151-
if pm.keyframe(c, query=True, keyframeCount=True):
1152-
key = True
1153-
break
1149+
# Comment out:
1150+
# The behavior wasn't clear for user. So now is removed and the user must
1151+
# keyframe or use + key option
1152+
# if not key:
1153+
# for c in _all_controls:
1154+
# if pm.keyframe(c, query=True, keyframeCount=True):
1155+
# key = True
1156+
# break
11541157

11551158
if key:
11561159
[

0 commit comments

Comments
 (0)