Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2022-07-10 12:28:44 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2022-07-18 17:44:46 +0300
commitcd21022b78fe48c16ab11d04682bb92271873a9c (patch)
tree2aff59e315f5b61768892a1105726d9f0ff22c23 /source/blender/blenkernel/intern/lib_remap_test.cc
parent935b7a6f65d2c90e54b59a50fd1c488f02da0e8e (diff)
Context: implement an active_action property that returns a single action.
Although e.g. in the dopesheet there is no specific concept of active action, displaying panels requires singling out one action reference. It is more efficient and clearer to implement this natively in the context rather than using selected_visible_actions[0]. - In the Action Editor the action is taken from the header. - In the Dope Sheet the first selected action is chosen, because there is no concept of an active channel or keyframe. - In the Graph Editor the action associated with the active curve is used, which should also be associated with the active vertex. This case may be different from selected_visible_actions[0]. Differential Revision: https://developer.blender.org/D15412
Diffstat (limited to 'source/blender/blenkernel/intern/lib_remap_test.cc')
0 files changed, 0 insertions, 0 deletions