소스 검색

No log if texturePath is not a json path (#8383)

Popov72 5 년 전
부모
커밋
78f91d593a
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      dist/preview release/what's new.md
  2. 0 1
      src/Materials/Textures/Procedurals/customProceduralTexture.ts

+ 1 - 0
dist/preview release/what's new.md

@@ -27,6 +27,7 @@
 - Added `boundingBoxRenderer.onBeforeBoxRenderingObservable` and `boundingBoxRenderer.onAfterBoxRenderingObservable` ([Deltakosh](https://github.com/deltakosh))
 - Added initial code for user facing DeviceSourceManager ([PolygonalSun](https://github.com/PolygonalSun))
 - Added a Simple and advanced timer, based on observables ([RaananW](https://github.com/RaananW))
+- Don't log a message in `CustomProceduralTexture` if the `texturePath` is not a JSON path ([Popov72](https://github.com/Popov72))
 
 ### Engine
 

+ 0 - 1
src/Materials/Textures/Procedurals/customProceduralTexture.ts

@@ -39,7 +39,6 @@ export class CustomProceduralTexture extends ProceduralTexture {
 
     private _loadJson(jsonUrl: string): void {
         let noConfigFile = () => {
-            Logger.Log("No config file found in " + jsonUrl + " trying to use ShadersStore or DOM element");
             try {
                 this.setFragment(this._texturePath);
             }