Fixes bounds scaling issue making the object box in the editor be double the convex's size

Fixes loading of modified surfaceTextures by properly inserting into stringtable
Fixes display of the active and default material previews in the ConvexShape editor
Adds buttons to hollow and recenter selected convex to tool window
This commit is contained in:
JeffR 2022-06-12 04:27:32 -05:00
parent 607f62bf03
commit 7cdace8da3
4 changed files with 95 additions and 18 deletions

View file

@ -263,7 +263,7 @@ bool ConvexShape::protectedSetSurfaceTexture(void *object, const char *index, co
surfaceMaterial surface;
surface._setMaterial(data);
surface._setMaterial(StringTable->insert(data));
shape->mSurfaceTextures.push_back(surface);