mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +00:00
only color detail brush if it's not part of an entity
This commit is contained in:
parent
a1fd52a8c2
commit
c55e260114
1 changed files with 4 additions and 5 deletions
|
@ -2851,16 +2851,15 @@ void XYWnd::XY_Draw(){
|
|||
if ( brush->owner != e && brush->owner ) {
|
||||
qglColor3fv( brush->owner->eclass->color );
|
||||
}
|
||||
else if ( brush->brush_faces->texdef.contents & CONTENTS_DETAIL )
|
||||
{
|
||||
qglColor3fv( g_qeglobals.d_savedinfo.colors[COLOR_DETAIL] );
|
||||
}
|
||||
else
|
||||
{
|
||||
qglColor3fv( g_qeglobals.d_savedinfo.colors[COLOR_BRUSHES] );
|
||||
}
|
||||
|
||||
//Color detail brushes differently
|
||||
if ( brush->brush_faces->texdef.contents & CONTENTS_DETAIL ) {
|
||||
qglColor3fv( g_qeglobals.d_savedinfo.colors[COLOR_DETAIL] );
|
||||
}
|
||||
|
||||
#ifdef DBG_SCENEDUMP
|
||||
if ( bDump ) {
|
||||
Sys_FPrintf( SYS_WRN, "Active brush: %p ", brush );
|
||||
|
|
Loading…
Reference in a new issue