From f51bb8bc703f9846acc3f812c31e8c7789f3a142 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 20 Mar 2012 11:18:45 +0000 Subject: [PATCH] Replaced && with & to address error in handling bitmask --- src/osgPlugins/dxf/dxfEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/dxf/dxfEntity.cpp b/src/osgPlugins/dxf/dxfEntity.cpp index 25e617e99..b1e40b680 100644 --- a/src/osgPlugins/dxf/dxfEntity.cpp +++ b/src/osgPlugins/dxf/dxfEntity.cpp @@ -407,7 +407,7 @@ dxfPolyline::assign(dxfFile* dxf, codeValue& cv) if ((_flag & 64 /*i.e. polymesh*/) && (cv._groupCode == 70 /*i.e. vertex flag*/) && - (cv._int && 128 /*i.e. vertex is actually a face*/)) + (cv._int & 128 /*i.e. vertex is actually a face*/)) _indices.push_back(_currentVertex); // Add the index only if _currentvertex is actually an index } else { double d = cv._double;