|
@@ -197,7 +197,7 @@ class BaseFXTools {
|
|
var perInstance = batch.instancedParams;
|
|
var perInstance = batch.instancedParams;
|
|
if ( perInstance == null ) {
|
|
if ( perInstance == null ) {
|
|
perInstance = new hxsl.Cache.BatchInstanceParams([]);
|
|
perInstance = new hxsl.Cache.BatchInstanceParams([]);
|
|
- batch.instancedParams = perInstance;
|
|
|
|
|
|
+ batch.instancedParams = perInstance;
|
|
}
|
|
}
|
|
perInstance.forcedPerInstance.push({
|
|
perInstance.forcedPerInstance.push({
|
|
shader: shader.shader.data.name,
|
|
shader: shader.shader.data.name,
|