Missing _attachedTransformMode in osg::Camera constructor, fix submitted by
Ben Discoe.
This commit is contained in:
parent
9cfef010e0
commit
686b1abc83
@ -34,6 +34,7 @@ Camera::Camera(DisplaySettings* ds)
|
|||||||
_useEyeOffset = false;
|
_useEyeOffset = false;
|
||||||
_eyeOffset.set(0.0f,0.0f,0.0f);
|
_eyeOffset.set(0.0f,0.0f,0.0f);
|
||||||
|
|
||||||
|
_attachedTransformMode = NO_ATTACHED_TRANSFORM;
|
||||||
|
|
||||||
if (ds) _screenDistance = ds->getScreenDistance();
|
if (ds) _screenDistance = ds->getScreenDistance();
|
||||||
else _screenDistance = 0.33f;
|
else _screenDistance = 0.33f;
|
||||||
|
Loading…
Reference in New Issue
Block a user