diff --git a/Geo/GEntity.cpp b/Geo/GEntity.cpp index cf73021a9cd0c25dc49e0d3989e0f35b31188c01..72abc9a55dd5041068d622354f37c39c43711a8f 100644 --- a/Geo/GEntity.cpp +++ b/Geo/GEntity.cpp @@ -7,7 +7,7 @@ extern Context_T CTX; GEntity::GEntity(GModel *m, int t) : _model(m), _tag(t), _visible(true), _flag(0), meshRep(0) { - _color = CTX.PACK_COLOR(0, 0, 255, 255); + _color = CTX.PACK_COLOR(0, 0, 255, 0); } GEntity::~GEntity() @@ -21,7 +21,7 @@ bool GEntity::useColor() int g = CTX.UNPACK_GREEN(_color); int b = CTX.UNPACK_BLUE(_color); int a = CTX.UNPACK_ALPHA(_color); - if(r == 0 && g == 0 && b == 255 && a == 255) + if(r == 0 && g == 0 && b == 255 && a == 0) return false; return true; }