mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Merge pull request #319 from Pan7/entanglearrow
Angle arrow for entities with angle and fixed size
This commit is contained in:
commit
1189ebe4d4
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue