Merge pull request #319 from Pan7/entanglearrow

Angle arrow for entities with angle and fixed size
This commit is contained in:
Timothee "TTimo" Besset 2015-10-31 09:37:50 -05:00
commit 1189ebe4d4

View file

@ -255,6 +255,12 @@ eclass_t *Eclass_InitFromText( char *text ){
) {
e->nShowFlags |= ECLASS_ANGLE;
}
for ( i = 0 ; i < MAX_FLAGS ; i++ )
{
if ( e->flagnames[i] && e->flagnames[i][0] != 0 && strcmpi( e->flagnames[i], "angle" ) && e->fixedsize ) {
e->nShowFlags |= ECLASS_ANGLE;
}
}
if ( strcmpi( e->name, "path" ) == 0 ) {
e->nShowFlags |= ECLASS_PATH;
}