Source
282
282
const AttributeBuffer &increments) {
283
283
ListIter<WorldCanvasHolder *> localWCHLI(itsWCHList);
284
284
localWCHLI.toStart();
285
285
286
286
AttributeBuffer rstrs=restrictions;
287
287
adjustBIndexName(rstrs);
288
288
AttributeBuffer incrs=increments;
289
289
adjustBIndexName(incrs);
290
290
// Same buffers, except with modified name of 'bIndex' attribute.
291
291
292
-
Int bInd;
292
+
Int bInd = 0;
293
293
Bool BIExists = ( itsBLength>0 &&
294
294
rstrs.getValue(itsBIndexName, bInd) &&
295
295
bInd>=0 );
296
296
// There are blink DDs to control, and a bIndex
297
297
// restriction (with a reasonable value) exists.
298
298
299
299
if(BIExists) itsBIndex=bInd;
300
300
// Maintain internal record of animator bIndex setting.
301
301
// When DDs are removed, its appropriate value may change,
302
302
// and is communicated back to the animator.