animationnodefactory.cxx (70f497fb) animationnodefactory.cxx (6d53c851)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 132 unchanged lines hidden (view full) ---

141
142 // clone ShapeSubset, since each node needs their
143 // own version of the ShapeSubset (otherwise,
144 // e.g. activity counting does not work - subset
145 // would be removed after first animation node
146 // disables it).
147 //
148 // NOTE: this is only a problem for animation
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 132 unchanged lines hidden (view full) ---

141
142 // clone ShapeSubset, since each node needs their
143 // own version of the ShapeSubset (otherwise,
144 // e.g. activity counting does not work - subset
145 // would be removed after first animation node
146 // disables it).
147 //
148 // NOTE: this is only a problem for animation
149 // nodes that explicitely call
149 // nodes that explicitly call
150 // disableSubsetShape(). Independent shape subsets
151 // (like those created for ParagraphTargets)
152 // solely rely on the ShapeSubset destructor to
153 // normalize things, which does the right thing
154 // here: the subset is only removed after _the
155 // last_ animation node releases the shared ptr.
156 aContext.mpMasterShapeSubset.reset(
157 new ShapeSubset( *aContext.mpMasterShapeSubset ) );

--- 459 unchanged lines hidden ---
150 // disableSubsetShape(). Independent shape subsets
151 // (like those created for ParagraphTargets)
152 // solely rely on the ShapeSubset destructor to
153 // normalize things, which does the right thing
154 // here: the subset is only removed after _the
155 // last_ animation node releases the shared ptr.
156 aContext.mpMasterShapeSubset.reset(
157 new ShapeSubset( *aContext.mpMasterShapeSubset ) );

--- 459 unchanged lines hidden ---