| 134 | } |
| 135 | |
| 136 | void DiskPrimitive::save( IECore::Object::SaveContext *context ) const |
| 137 | { |
| 138 | Primitive::save(context); |
| 139 | IndexedIOPtr container = context->container( staticTypeName(), m_ioVersion ); |
| 140 | |
| 141 | container->write( g_radiusEntry, m_radius ); |
| 142 | container->write( g_zEntry, m_z ); |
| 143 | container->write( g_thetaMaxEntry, m_thetaMax ); |
| 144 | } |
| 145 | |
| 146 | void DiskPrimitive::load( IECore::Object::LoadContextPtr context ) |
| 147 | { |