File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
framework/components/camera Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,6 @@ pc.extend(pc, function () {
115115 outputTarget : null
116116 } ;
117117
118- // #ifdef DEBUG
119- console . warn ( "PostEffectQueue is deprecated. Use new post effects." ) ;
120- // #endif
121-
122118 // legacy compatibility: create new layer
123119 if ( ! this . layer ) {
124120 this . layer = new pc . Layer ( {
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ pc.extend(pc, function () {
22 var id = 0 ;
33 var _tmpAabb = new pc . BoundingBox ( ) ;
44
5- var _layerDeprecationWarning = false ;
6-
75 /**
86 * @constructor
97 * @name pc.Mesh
@@ -420,10 +418,6 @@ pc.extend(pc, function () {
420418 return this . _layer ;
421419 } ,
422420 set : function ( layer ) {
423- if ( ! _layerDeprecationWarning ) {
424- _layerDeprecationWarning = true ;
425- console . warn ( 'meshInstance.layer is deprecated. Use pc.Layer or PlayCanvas Editor.' ) ;
426- }
427421 this . _layer = layer ;
428422 this . updateKey ( ) ;
429423 }
You can’t perform that action at this time.
0 commit comments