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 b74186e commit d4def46Copy full SHA for d4def46
Sources/Rendering/Core/Camera/index.js
@@ -77,6 +77,10 @@ function vtkCamera(publicAPI, model) {
77
78
// Internal Functions that don't need to be public
79
function computeViewPlaneNormal() {
80
+ // Instanciation time
81
+ if (model.viewPlaneNormal === undefined) {
82
+ model.viewPlaneNormal = defaultValues().viewPlaneNormal;
83
+ }
84
// VPN is -DOP
85
model.viewPlaneNormal[0] = -model.directionOfProjection[0];
86
model.viewPlaneNormal[1] = -model.directionOfProjection[1];
0 commit comments