mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 15:32:15 -05:00
Anim: add Action+Slot selector for Compositing Node Tree
This allows users to manage the Action and Slot assignment of a Scene's compositing nodes. The selector lives in the Animation Panel in Scene Properties, alongside the Action+Slot selector of the Scene ID itself. Pull Request: https://projects.blender.org/blender/blender/pulls/133141
This commit is contained in:
parent
fc44eb910d
commit
1ac5b45eae
1 changed files with 16 additions and 0 deletions
|
@ -444,6 +444,22 @@ class SCENE_PT_eevee_next_light_probes(SceneButtonsPanel, Panel):
|
|||
class SCENE_PT_animation(SceneButtonsPanel, PropertiesAnimationMixin, PropertyPanel, Panel):
|
||||
_animated_id_context_property = "scene"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
scene = context.scene
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.label(text="Scene")
|
||||
self.draw_action_and_slot_selector(context, col, scene)
|
||||
|
||||
if node_tree := scene.node_tree:
|
||||
col = layout.column(align=True)
|
||||
col.label(text="Compositing Node Tree")
|
||||
self.draw_action_and_slot_selector(context, col, node_tree)
|
||||
|
||||
|
||||
class SCENE_PT_custom_props(SceneButtonsPanel, PropertyPanel, Panel):
|
||||
_context_path = "scene"
|
||||
|
|
Loading…
Reference in a new issue