File tree Expand file tree Collapse file tree 6 files changed +15
-15
lines changed Expand file tree Collapse file tree 6 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def computeSize(self, node):
15
15
16
16
# Compute the size for each entry in the list of input paths
17
17
for input in node .attribute ("inputPaths" ).value :
18
- self ._param = input .getFullName ()
18
+ self ._param = input .fullName
19
19
s = s + super (KeyframeSelectionNodeSize , self ).computeSize (node )
20
20
21
21
# Retrieve the maximum number of keyframes for the smart selection (which is high by default)
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def update(cls, node):
176
176
return
177
177
node .userNbBrackets .validValue = True # Reset the status of "userNbBrackets"
178
178
179
- cameraInitOutput = node .input .getLinkParam ( recursive = True )
179
+ cameraInitOutput = node .input .inputRootLink
180
180
if not cameraInitOutput :
181
181
node .nbBrackets .value = 0
182
182
return
@@ -194,7 +194,7 @@ def update(cls, node):
194
194
195
195
if not cameraInitOutput .node .hasAttribute ("viewpoints" ):
196
196
if cameraInitOutput .node .hasAttribute ("input" ):
197
- cameraInitOutput = cameraInitOutput .node .input .getLinkParam ( recursive = True )
197
+ cameraInitOutput = cameraInitOutput .node .input .inputRootLink
198
198
if cameraInitOutput and cameraInitOutput .node and cameraInitOutput .node .hasAttribute ("viewpoints" ):
199
199
viewpoints = cameraInitOutput .node .viewpoints .value
200
200
else :
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ def update(cls, node):
249
249
return
250
250
node .userNbBrackets .validValue = True # Reset the status of "userNbBrackets"
251
251
252
- cameraInitOutput = node .input .getLinkParam ( recursive = True )
252
+ cameraInitOutput = node .input .inputRootLink
253
253
if not cameraInitOutput :
254
254
node .nbBrackets .value = 0
255
255
return
@@ -267,7 +267,7 @@ def update(cls, node):
267
267
268
268
if not cameraInitOutput .node .hasAttribute ("viewpoints" ):
269
269
if cameraInitOutput .node .hasAttribute ("input" ):
270
- cameraInitOutput = cameraInitOutput .node .input .getLinkParam ( recursive = True )
270
+ cameraInitOutput = cameraInitOutput .node .input .inputRootLink
271
271
if cameraInitOutput and cameraInitOutput .node and cameraInitOutput .node .hasAttribute ("viewpoints" ):
272
272
viewpoints = cameraInitOutput .node .viewpoints .value
273
273
else :
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ def update(cls, node):
202
202
node .outliersNb = 0 # Reset the number of detected outliers
203
203
node .userNbBrackets .validValue = True # Reset the status of "userNbBrackets"
204
204
205
- cameraInitOutput = node .input .getLinkParam ( recursive = True )
205
+ cameraInitOutput = node .input .inputRootLink
206
206
if not cameraInitOutput :
207
207
node .nbBrackets .value = 0
208
208
return
@@ -220,7 +220,7 @@ def update(cls, node):
220
220
221
221
if not cameraInitOutput .node .hasAttribute ("viewpoints" ):
222
222
if cameraInitOutput .node .hasAttribute ("input" ):
223
- cameraInitOutput = cameraInitOutput .node .input .getLinkParam ( recursive = True )
223
+ cameraInitOutput = cameraInitOutput .node .input .inputRootLink
224
224
if cameraInitOutput and cameraInitOutput .node and cameraInitOutput .node .hasAttribute ("viewpoints" ):
225
225
viewpoints = cameraInitOutput .node .viewpoints .value
226
226
else :
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ def __init__(self, param):
14
14
self ._params = param
15
15
16
16
def computeSize (self , node ):
17
-
17
+
18
18
size = 0
19
19
20
20
for input in node .attribute (self ._params ).value :
21
- paramName = input .getFullName ()
21
+ paramName = input .fullName
22
22
param = node .attribute (paramName )
23
23
if param .isLink :
24
- size = max (size , param .getLinkParam () .node .size )
25
-
24
+ size = max (size , param .inputLink .node .size )
25
+
26
26
return size
27
27
28
28
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ def __init__(self, param):
14
14
self ._params = param
15
15
16
16
def computeSize (self , node ):
17
-
17
+
18
18
size = 0
19
19
20
20
for input in node .attribute (self ._params ).value :
21
- paramName = input .getFullName ()
21
+ paramName = input .fullName
22
22
param = node .attribute (paramName )
23
- size = size + param .getLinkParam () .node .size
24
-
23
+ size = size + param .inputLink .node .size
24
+
25
25
return size
26
26
27
27
You can’t perform that action at this time.
0 commit comments