|
|
@ -603,6 +603,9 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab |
|
|
|
* @see MatParamOverride |
|
|
|
* @see MatParamOverride |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void addMatParamOverride(MatParamOverride override) { |
|
|
|
public void addMatParamOverride(MatParamOverride override) { |
|
|
|
|
|
|
|
if (override == null) { |
|
|
|
|
|
|
|
throw new IllegalArgumentException("override cannot be null"); |
|
|
|
|
|
|
|
} |
|
|
|
localOverrides.add(override); |
|
|
|
localOverrides.add(override); |
|
|
|
setMatParamOverrideRefresh(); |
|
|
|
setMatParamOverrideRefresh(); |
|
|
|
} |
|
|
|
} |
|
|
|