소스 검색

fix: State correct commentaries for material observables

yuccai 7 년 전
부모
커밋
269c189873
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/babylon.scene.ts

+ 2 - 2
src/babylon.scene.ts

@@ -441,12 +441,12 @@ module BABYLON {
         public onMeshRemovedObservable = new Observable<AbstractMesh>();
         
         /**
-        * An event triggered when a mesh is created
+        * An event triggered when a material is created
         */
         public onNewMaterialAddedObservable = new Observable<Material>();
 
         /**
-        * An event triggered when a mesh is removed
+        * An event triggered when a material is removed
         */
         public onMaterialRemovedObservable = new Observable<Material>();