Fixed a compile warning.
This commit is contained in:
parent
c5ab6678f2
commit
ba3114a8b5
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ add_polygon (SGPropertyNode_ptr node)
|
||||||
AreaType material =
|
AreaType material =
|
||||||
get_area_type(node->getStringValue("material", "Default"));
|
get_area_type(node->getStringValue("material", "Default"));
|
||||||
vector<SGPropertyNode_ptr> contour_nodes = node->getChildren("contour");
|
vector<SGPropertyNode_ptr> contour_nodes = node->getChildren("contour");
|
||||||
for (int i = 0; i < contour_nodes.size(); i++) {
|
for (unsigned int i = 0; i < contour_nodes.size(); i++) {
|
||||||
SGPropertyNode_ptr contour_node = contour_nodes[i];
|
SGPropertyNode_ptr contour_node = contour_nodes[i];
|
||||||
Point3D p;
|
Point3D p;
|
||||||
const char * s = contour_node->getStringValue("v");
|
const char * s = contour_node->getStringValue("v");
|
||||||
|
|
Loading…
Reference in a new issue