remove layers ALWAYS (#5458)

* remove  layers ALWAYS

* layers ALWAYS deprecated

* format change
This commit is contained in:
ChiaNing
2019-09-24 18:22:57 +08:00
committed by pandamicro
parent a7fa5916f9
commit ce19ddece1
2 changed files with 12 additions and 1 deletions
+12
View File
@@ -106,3 +106,15 @@ replaceProperty(Layers, 'Layers', [
targetName: 'Layers',
},
]);
removeProperty(Layers.Enum,'Layers.Enum',[
{
'name': 'ALWAYS',
}
]);
removeProperty(Layers.BitMask,'Layers.BitMask',[
{
'name': 'ALWAYS',
}
]);
-1
View File
@@ -40,7 +40,6 @@ const layerList = {
UI_2D : (1 << 25),
PROFILER : (1 << 28),
ALWAYS : (1 << 29),
DEFAULT : (1 << 30),
ALL : 0xffffffff,
};