Ver código fonte

Adjust camera upper radius for particle systems with big coordinates

Popov72 5 anos atrás
pai
commit
187d92cce2

+ 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;
             }
         }