mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fixed getAssetBy... functions so the lookup loop is more stable and doesn't fail if null results return
Added sanity check to reflectionProbe preview shape so if the material didn't load right, it doesn't crash Added logic to better control if module groups as a whole should fail if a module dependency in that group fails, defaulted to off Added sanity check if a shape's material failed to load so it doesn't crash when checking accumulation rules Added search bar to SimView control for easier use
This commit is contained in:
parent
3538da30d0
commit
667a0db760
9 changed files with 130 additions and 235 deletions
|
|
@ -883,6 +883,9 @@ void ReflectionProbe::prepRenderImage(SceneRenderState *state)
|
|||
|
||||
BaseMatInstance* probePrevMat = mEditorShapeInst->getMaterialList()->getMaterialInst(0);
|
||||
|
||||
if (probePrevMat == nullptr)
|
||||
return;
|
||||
|
||||
setPreviewMatParameters(state, probePrevMat);
|
||||
|
||||
// GFXTransformSaver is a handy helper class that restores
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue