Skip to content

Commit a3975dd

Browse files
committed
feat: added settings for node frames and group outputs
1 parent a75050d commit a3975dd

File tree

3 files changed

+49
-30
lines changed

3 files changed

+49
-30
lines changed

compositor/node_settings.py

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,25 @@
2929

3030
'CompositorNodeMovieClip' : [("clip", ST.MOVIE_CLIP)],
3131

32-
'CompositorNodeRLayers' : [("layer", ST.ENUM),
33-
("scene", ST.SCENE)],
32+
'CompositorNodeTexture' : [("node_output", ST.INT), #TODO: ??
33+
("texture", ST.TEXTURE)],
34+
35+
# Input > Constant
3436

3537
'CompositorNodeRGB' : [],
38+
'CompositorNodeValue' : [],
3639

37-
'CompositorNodeSceneTime' : [],
40+
# Input > Scene
3841

39-
'CompositorNodeTexture' : [("node_output", ST.INT), #TODO: ??
40-
("texture", ST.TEXTURE)],
42+
'CompositorNodeRLayers' : [("layer", ST.ENUM),
43+
("scene", ST.SCENE)],
44+
45+
'CompositorNodeSceneTime' : [],
4146

4247
'CompositorNodeTime' : [("curve", ST.CURVE_MAPPING),
4348
("frame_end", ST.INT),
4449
("frame_start", ST.INT)],
4550

46-
'CompositorNodeTrackPos' : [("clip", ST.MOVIE_CLIP),
47-
("frame_relative", ST.INT),
48-
("position", ST.ENUM),
49-
("track_name", ST.STRING), #TODO: probably not right
50-
("tracking_object", ST.STRING)],
51-
52-
'CompositorNodeValue' : [],
53-
5451

5552
# OUTPUT
5653
'CompositorNodeComposite' : [("use_alpha", ST.BOOL)],
@@ -62,16 +59,14 @@
6259
("format", ST.IMAGE_FORMAT_SETTINGS),
6360
("layer_slots", ST.LAYER_SLOTS)],
6461

65-
'CompositorNodeLevels' : [("channel", ST.ENUM)],
66-
67-
'CompositorNodeSplitViewer' : [("axis", ST.ENUM),
68-
("factor", ST.INT)],
69-
7062
'CompositorNodeViewer' : [("center_x", ST.FLOAT),
7163
("center_y", ST.FLOAT),
7264
("tile_order", ST.ENUM),
7365
("use_alpha", ST.BOOL)],
7466

67+
'CompositorNodeSplitViewer' : [("axis", ST.ENUM),
68+
("factor", ST.INT)],
69+
7570

7671
# COLOR
7772
'CompositorNodeAlphaOver' : [("premul", ST.FLOAT),
@@ -423,14 +418,28 @@
423418
'CompositorNodeTranslate' : [("use_relative", ST.BOOL),
424419
("wrap_axis", ST.ENUM)],
425420

421+
# TRACKING
422+
'CompositorNodeTrackPos' : [("clip", ST.MOVIE_CLIP),
423+
("frame_relative", ST.INT),
424+
("position", ST.ENUM),
425+
("track_name", ST.STRING), #TODO: probably not right
426+
("tracking_object", ST.STRING)],
427+
428+
# UTILITIES
429+
'CompositorNodeLevels' : [("channel", ST.ENUM)],
426430

427431
# LAYOUT
428432
'CompositorNodeSwitch' : [("check", ST.BOOL)],
429433

430434

431435
# MISC
432-
'NodeFrame' : [],
433-
'NodeGroupInput' : [],
434-
'NodeGroupOutput' : [],
435-
'NodeReroute' : []
436+
'NodeFrame' : [("label_size", ST.INT),
437+
("shrink", ST.BOOL),
438+
("text", ST.TEXT)],
439+
440+
'NodeGroupInput' : [],
441+
442+
'NodeGroupOutput' : [("is_active_output", ST.BOOL)],
443+
444+
'NodeReroute' : []
436445
}

geometry/node_settings.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,14 @@
458458
'FunctionNodeQuaternionToRotation' : [],
459459

460460
# MISC
461-
'NodeFrame' : [],
462-
'NodeGroupInput' : [],
463-
'NodeGroupOutput' : [],
464-
'NodeReroute' : []
461+
'NodeFrame' : [("label_size", ST.INT),
462+
("shrink", ST.BOOL),
463+
("text", ST.TEXT)],
464+
465+
'NodeGroupInput' : [],
466+
467+
'NodeGroupOutput' : [("is_active_output", ST.BOOL)],
468+
469+
'NodeReroute' : []
465470

466471
}

material/node_settings.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,13 @@
263263
("use_auto_update", ST.BOOL)],
264264

265265
# MISC
266-
'NodeFrame' : [],
267-
'NodeGroupInput' : [],
268-
'NodeGroupOutput' : [],
269-
'NodeReroute' : []
266+
'NodeFrame' : [("label_size", ST.INT),
267+
("shrink", ST.BOOL),
268+
("text", ST.TEXT)],
269+
270+
'NodeGroupInput' : [],
271+
272+
'NodeGroupOutput' : [("is_active_output", ST.BOOL)],
273+
274+
'NodeReroute' : []
270275
}

0 commit comments

Comments
 (0)