Skip to content

Commit

Permalink
Fix Action Property Value
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo committed May 25, 2021
1 parent 0c686eb commit cfaddb1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,9 +619,13 @@ def draw_action(self, act, body):
action = body.row()
action.prop_search(act, 'action', bpy.data, 'actions', text='')
action.prop(act, 'use_continue_last_frame', text='Continue')
frames = body.row()
frames.prop(act, 'frame_start', text='Start Frame')
frames.prop(act, 'frame_end', text='End Frame')
if act.play_mode != 'PROPERTY':
frames = body.row()
frames.prop(act, 'frame_start', text='Start Frame')
frames.prop(act, 'frame_end', text='End Frame')
else:
frames = body.split(factor=.6)
frames.prop_search(act, 'property', self.target_object.game, 'properties', text='Property')
frames.prop(act, 'apply_to_children', text='Child')
opts = body.row()
opts.prop(act, 'frame_blend_in', text='Blendin')
Expand Down

0 comments on commit cfaddb1

Please sign in to comment.