kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix camera scales
rodzic
149f1dc341
commit
e208642234
|
@ -362,7 +362,7 @@ class ModelView extends React.Component {
|
||||||
const cameraMesh = new THREE.Mesh(cameraObj.geometry, material);
|
const cameraMesh = new THREE.Mesh(cameraObj.geometry, material);
|
||||||
cameraMesh.matrixAutoUpdate = false;
|
cameraMesh.matrixAutoUpdate = false;
|
||||||
let scale = 1.0;
|
let scale = 1.0;
|
||||||
if (!this.pointCloud.projection) scale = 0.1;
|
// if (!this.pointCloud.projection) scale = 0.1;
|
||||||
|
|
||||||
cameraMesh.matrix.set(...getMatrix(feat.properties.translation, feat.properties.rotation, scale).elements);
|
cameraMesh.matrix.set(...getMatrix(feat.properties.translation, feat.properties.rotation, scale).elements);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue