work
save startup blend for animation tab & whatnot
This commit is contained in:
@@ -271,7 +271,6 @@ def register_layers(obj, nla_tracks):
|
||||
continue
|
||||
strip = track.strips[0]
|
||||
use_animated_influence(strip)
|
||||
strip.influence = 1
|
||||
|
||||
#updating the ui list with the nla track names
|
||||
def visible_layers(obj, nla_tracks):
|
||||
@@ -355,9 +354,9 @@ def use_animated_influence(strip):
|
||||
else:
|
||||
keyframe = keyframes[0]
|
||||
keyframes.remove(keyframe)
|
||||
|
||||
strip.influence = 1
|
||||
|
||||
strip.influence = 1
|
||||
|
||||
def check_override_layers(obj):
|
||||
if obj.override_library is None:
|
||||
return False
|
||||
@@ -1298,7 +1297,6 @@ def load_action(self, context):
|
||||
subscriptions.frameend_update_callback()
|
||||
strip.use_sync_length = False
|
||||
use_animated_influence(strip)
|
||||
strip.influence = 1
|
||||
return
|
||||
subscriptions.subscriptions_remove()
|
||||
strip = track.strips[0]
|
||||
@@ -1949,7 +1947,6 @@ def add_animlayer(layer_name = 'Anim_Layer' , duplicate = False, index = 1, blen
|
||||
new_strip.blend_type = blend_type
|
||||
new_strip.use_sync_length = False
|
||||
use_animated_influence(new_strip)
|
||||
new_strip.influence = 1
|
||||
|
||||
return new_track
|
||||
|
||||
|
||||
Reference in New Issue
Block a user