File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,28 @@ def render(
141
141
142
142
burn .node ("slate_info" )["message" ].setValue (slate_str )
143
143
144
+ # Disable slate expression if not using it
145
+ if not self .__app .get_setting ("add_slate" ):
146
+ chooser_knob = burn .node ("slate_or_burnin_chooser" )["which" ]
147
+ chooser_knob .setExpression ("" )
148
+ chooser_knob .clearAnimated ()
149
+ chooser_knob .setValue (1 )
150
+
151
+ # Disable burn in texts if not using it
152
+ if not self .__app .get_setting ("add_burn_ins" ):
153
+ for node_name in [
154
+ "top_left_text" ,
155
+ "top_right_text" ,
156
+ "bottom_left_text" ,
157
+ "framecounter" ,
158
+ ]:
159
+ burn .node (node_name )["disable" ].setValue (True )
160
+
144
161
# create a scale node
145
162
scale = self .__create_scale_node (width , height )
146
163
scale .setInput (0 , burn )
164
+ if not self .__app .get_setting ("resize_movie" ):
165
+ scale ["disable" ].setValue (True )
147
166
148
167
# Create the output node
149
168
output_node = self .__create_output_node (output_path )
Original file line number Diff line number Diff line change @@ -48,6 +48,21 @@ configuration:
48
48
as a temporary location for processing before the file is
49
49
uploaded to Shotgun.
50
50
51
+ add_burn_ins :
52
+ type : bool
53
+ default_value : true
54
+ description : Add burn ins when rendering the movie file.
55
+
56
+ add_slate :
57
+ type : bool
58
+ default_value : true
59
+ description : Add slate when rendering the movie file.
60
+
61
+ resize_movie :
62
+ type : bool
63
+ default_value : true
64
+ description : Reformat rendered movie using given/default width, height.
65
+
51
66
movie_width :
52
67
type : int
53
68
default_value : 1920
You can’t perform that action at this time.
0 commit comments