diff options
author | UbitUmarov | 2016-08-24 04:10:35 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-24 04:10:35 +0100 |
commit | c05ee23d3dd533f19295f6b038898c09196e475b (patch) | |
tree | e1626c5a96ecf2cfbb58be0ba57ffe17a192202c /OpenSim | |
parent | potencial null ref (diff) | |
download | opensim-SC_OLD-c05ee23d3dd533f19295f6b038898c09196e475b.zip opensim-SC_OLD-c05ee23d3dd533f19295f6b038898c09196e475b.tar.gz opensim-SC_OLD-c05ee23d3dd533f19295f6b038898c09196e475b.tar.bz2 opensim-SC_OLD-c05ee23d3dd533f19295f6b038898c09196e475b.tar.xz |
minor change on warp3d lib
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs index e2c1c01..cb37067 100644 --- a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs +++ b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs | |||
@@ -212,9 +212,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap | |||
212 | 212 | ||
213 | if (viewport.Orthographic) | 213 | if (viewport.Orthographic) |
214 | { | 214 | { |
215 | renderer.Scene.defaultCamera.isOrthographic = true; | 215 | renderer.Scene.defaultCamera.setOrthographic(true,viewport.OrthoWindowWidth, viewport.OrthoWindowHeight); |
216 | renderer.Scene.defaultCamera.orthoViewWidth = viewport.OrthoWindowWidth; | ||
217 | renderer.Scene.defaultCamera.orthoViewHeight = viewport.OrthoWindowHeight; | ||
218 | } | 216 | } |
219 | else | 217 | else |
220 | { | 218 | { |