* render direction arrow for group entities, having angle/angles key set or having angle/angles/direction attribute in .ent
draw condition relies on entity.getKeyValue, which also provides default values; thus removed default "0" for all group entities in .def loader mind to add entity.getOnlySpecifiedKeyValue func or perform by visitor?
This commit is contained in:
@@ -280,7 +280,7 @@ EntityClass *Eclass_InitFromText( const char *text ){
|
||||
e->m_modelpath = buffer.c_str();
|
||||
|
||||
if ( !e->fixedsize ) {
|
||||
EntityClass_insertAttribute( *e, "angle", EntityClassAttribute( "direction", "Direction", "0" ) );
|
||||
EntityClass_insertAttribute( *e, "angle", EntityClassAttribute( "direction", "Direction" ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user