We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05fce6d commit 95e2a68Copy full SHA for 95e2a68
include/IECoreNuke/LiveScene.h
@@ -111,6 +111,9 @@ class IECORENUKE_API LiveScene : public IECoreScene::SceneInterface
111
static double timeToFrame( const double& time );
112
static double frameToTime( const int& frame );
113
114
+ void setOp( DD::Image::GeoOp* op );
115
+ const DD::Image::GeoOp *getOp() const;
116
+
117
private:
118
119
DD::Image::GeoOp *op() const;
src/IECoreNuke/LiveScene.cpp
@@ -94,7 +94,13 @@ LiveScene::~LiveScene()
94
{
95
}
96
97
-GeoOp *LiveScene::op() const
+void LiveScene::setOp( DD::Image::GeoOp* op )
98
+{
99
+ m_op = op;
100
+ m_objectPathMap.clear();
101
+}
102
103
+const GeoOp *LiveScene::getOp() const
104
105
return m_op;
106
0 commit comments