mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Adds ability to adjust padding to guiTextListCtrl's rows
ForcedMaterialMeshMgr tweaked to allow proper setting of override material Ongoing WIP of update/fixing of options menus WIP of expanded visualizers, including material complexity viz Adds no-pie flag when compiling on linux with non-clang compilers
This commit is contained in:
parent
99cee7f32a
commit
7c3bd49615
17 changed files with 912 additions and 487 deletions
|
|
@ -126,9 +126,10 @@ const char* ForcedMaterialMeshMgr::_getOverrideMat( void *object, const char *da
|
|||
bool ForcedMaterialMeshMgr::_setOverrideMat( void *object, const char *index, const char *data )
|
||||
{
|
||||
ForcedMaterialMeshMgr &mgr = *reinterpret_cast<ForcedMaterialMeshMgr *>( object );
|
||||
BaseMatInstance* material;
|
||||
Sim::findObject( data, material );
|
||||
mgr.setOverrideMaterial( material );
|
||||
Material* material;
|
||||
Sim::findObject(data, material);
|
||||
mgr.mOverrideMaterial = material;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue