architwin 1.10.14 → 1.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,6 @@ import { Notyf } from 'notyf';
|
|
|
7
7
|
import log from 'loglevel';
|
|
8
8
|
import i18n from "./i18n";
|
|
9
9
|
import { getBasepointObjectPayload } from "./actionSettingsPane";
|
|
10
|
-
import { pi } from "mathjs";
|
|
11
10
|
let notyf = new Notyf({ position: { x: 'left', y: 'bottom' }, duration: 4500 });
|
|
12
11
|
export let activeModelControlPane = false;
|
|
13
12
|
export let modelControlPane;
|
|
@@ -185,7 +184,7 @@ export function getCoordinateValues() {
|
|
|
185
184
|
const transform = {};
|
|
186
185
|
let newRotationValue;
|
|
187
186
|
if (selectedObject && selectedObject.type == "BASEPOINT") {
|
|
188
|
-
newRotationValue = { x:
|
|
187
|
+
newRotationValue = { x: Math.PI / 2, y: 0, z: 0 };
|
|
189
188
|
}
|
|
190
189
|
else {
|
|
191
190
|
newRotationValue = transformType === 'rotate' ? degreesToRadians(formCoords) : selectedObject.node.quaternion;
|