Преглед на файлове

Merge pull request #6036 from TrevorDev/fixGizmoValidation

fix gizmo test validation
David Catuhe преди 6 години
родител
ревизия
9d581f9bf1
променени са 2 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/Gizmos/axisScaleGizmo.ts
  2. BIN
      tests/validation/ReferenceImages/Gizmos.png

+ 1 - 0
src/Gizmos/axisScaleGizmo.ts

@@ -57,6 +57,7 @@ export class AxisScaleGizmo extends Gizmo {
         var arrow = new AbstractMesh("", gizmoLayer.utilityLayerScene);
         var arrowMesh = BoxBuilder.CreateBox("yPosMesh", { size: 0.4 }, gizmoLayer.utilityLayerScene);
         var arrowTail = CylinderBuilder.CreateCylinder("cylinder", { diameterTop: 0.005, height: 0.275, diameterBottom: 0.005, tessellation: 96 }, gizmoLayer.utilityLayerScene);
+        arrowTail.material = this._coloredMaterial;
         arrow.addChild(arrowMesh);
         arrow.addChild(arrowTail);
 

BIN
tests/validation/ReferenceImages/Gizmos.png