| 171 | } |
| 172 | |
| 173 | ObjectPtr readAttribute( SceneInterface &m, const SceneInterface::Name &name, double time, bool copy ) |
| 174 | { |
| 175 | ConstObjectPtr o = m.readAttribute( name, time ); |
| 176 | if( o ) |
| 177 | { |
| 178 | return copy ? o->copy() : boost::const_pointer_cast<Object>( o ); |
| 179 | } |
| 180 | return nullptr; |
| 181 | } |
| 182 | |
| 183 | ObjectPtr readObject( SceneInterface &m, double time, const IECore::Canceller *canceller, bool copy ) |
| 184 | { |
no test coverage detected