Skip to content

Commit 43c431e

Browse files
committed
fix(core): pivot controls work
1 parent d08959a commit 43c431e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

libs/core/src/lib/renderer/renderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ export class NgtRenderer2 implements Renderer2 {
376376
}
377377

378378
for (const platformChildNode of newChild['childNodes'] || []) {
379+
if (!isRendererNode(platformChildNode)) continue;
379380
this.appendChild(parent, platformChildNode);
380381
}
381382

libs/soba/gizmos/src/lib/pivot-controls/pivot-controls.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,7 @@ const defaultOptions: NgtsPivotControlsOptions = {
128128
selector: 'ngts-pivot-controls',
129129
template: `
130130
<ngt-group #parent>
131-
<ngt-group
132-
#group
133-
[matrix]="matrix()"
134-
[matrixAutoUpdate]="false"
135-
[parameters]="parameters()"
136-
(pointerover)="(undefined)"
137-
>
131+
<ngt-group #group [matrix]="matrix()" [matrixAutoUpdate]="false" [parameters]="parameters()">
138132
<ngt-group #gizmo [visible]="visible()" [position]="offset()" [rotation]="rotation()">
139133
@if (enabled()) {
140134
@let _disableAxes = disableAxes();

0 commit comments

Comments
 (0)