mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-20 04:14:15 +00:00
Merge pull request #1755 from Azaezel/alpha41/fixSetImageOptional
fix optional skin param for ShapeBase::setImage
This commit is contained in:
commit
c7be48130a
1 changed files with 1 additions and 0 deletions
|
|
@ -2343,6 +2343,7 @@ void ShapeBase::setImage( U32 imageSlot,
|
|||
image.dataBlock = imageData;
|
||||
image.state = &image.dataBlock->state[0];
|
||||
image.skinNameHandle = skinNameHandle;
|
||||
image.appliedSkinName = "Base";
|
||||
image.updateDoAnimateAllShapes(this);
|
||||
|
||||
for (U32 i=0; i<ShapeBaseImageData::MaxShapes; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue