From Roland Smeenk, "Small typo and implementation fix for setInitialDrawCallback."

This commit is contained in:
Robert Osfield
2008-05-08 13:22:52 +00:00
parent 47814e50a4
commit dd1a2bcaec

View File

@@ -449,7 +449,7 @@ class OSG_EXPORT Camera : public Transform, public CullSettings
};
/** Set the initial draw callback for custom operations to be done before the drawing of the camera's subgraph and pre render stages.*/
void setIntialDrawCallback(DrawCallback* cb) { _preDrawCallback = cb; }
void setInitialDrawCallback(DrawCallback* cb) { _initialDrawCallback = cb; }
/** Get the initial draw callback.*/
DrawCallback* getInitialDrawCallback() { return _initialDrawCallback.get(); }