Where possible moved redundent C header includes from headers to source files

This commit is contained in:
Robert Osfield
2008-12-12 18:47:30 +00:00
parent 97cd954c01
commit 315aeeb557
49 changed files with 69299 additions and 30082 deletions

View File

@@ -13,6 +13,7 @@
#include <memory.h>
#include <stdlib.h>
#include <string.h>
#include <osgSim/ShapeAttribute>
@@ -68,6 +69,13 @@ void ShapeAttribute::free()
}
}
void ShapeAttribute::setValue(const char * value)
{
free();
_type = STRING;
_string = (value ? strdup(value) : 0);
}
void ShapeAttribute::copy(const ShapeAttribute& sa)
{
_name = sa._name;