Преглед изворни кода

Adjust camera upper radius for particle systems with big coordinates

Popov72 пре 5 година
родитељ
комит
187d92cce2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      nodeEditor/src/components/preview/previewManager.ts

+ 1 - 1
nodeEditor/src/components/preview/previewManager.ts

@@ -236,7 +236,7 @@ export class PreviewManager {
             }
             case NodeMaterialModes.Particle: {
                 this._camera.radius = this._globalState.previewType === PreviewType.Explosion ? 50 : 20;
-                this._camera.upperRadiusLimit = 500;
+                this._camera.upperRadiusLimit = 5000;
                 break;
             }
         }