Alembic: Removed AbcTransformWriter::m_parent
It was set, but never read anywhere.
This commit is contained in:
parent
ae76a90593
commit
56cfd3d5a7
|
@ -452,7 +452,6 @@ void AbcExporter::createTransformWriter(Object *ob, Object *parent, Object *dupl
|
|||
|
||||
if (parent_xform) {
|
||||
m_xforms[name] = new AbcTransformWriter(ob, parent_xform->alembicXform(), parent_xform, m_trans_sampling_index, m_settings);
|
||||
m_xforms[name]->setParent(parent);
|
||||
}
|
||||
else {
|
||||
m_xforms[name] = new AbcTransformWriter(ob, m_writer->archive().getTop(), NULL, m_trans_sampling_index, m_settings);
|
||||
|
|
|
@ -64,7 +64,6 @@ AbcTransformWriter::AbcTransformWriter(Object *ob,
|
|||
: AbcObjectWriter(NULL, ob, time_sampling, settings, parent)
|
||||
{
|
||||
m_is_animated = hasAnimation(m_object);
|
||||
m_parent = NULL;
|
||||
|
||||
if (!m_is_animated) {
|
||||
time_sampling = 0;
|
||||
|
|
|
@ -37,7 +37,6 @@ class AbcTransformWriter : public AbcObjectWriter {
|
|||
Alembic::Abc::M44d m_matrix;
|
||||
|
||||
bool m_is_animated;
|
||||
Object *m_parent;
|
||||
bool m_visible;
|
||||
|
||||
public:
|
||||
|
@ -49,7 +48,6 @@ public:
|
|||
|
||||
Alembic::AbcGeom::OXform &alembicXform() { return m_xform;}
|
||||
virtual Imath::Box3d bounds();
|
||||
void setParent(Object *p) { m_parent = p; }
|
||||
|
||||
private:
|
||||
virtual void do_write();
|
||||
|
|
Loading…
Reference in New Issue