Added thread safe ref/unref by default.
This commit is contained in:
@@ -199,6 +199,9 @@ public:
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
FontImplementation():
|
||||||
|
osg::Referenced(true) {}
|
||||||
|
|
||||||
virtual std::string getFileName() const = 0;
|
virtual std::string getFileName() const = 0;
|
||||||
|
|
||||||
/** Set the pixel width and height hint.*/
|
/** Set the pixel width and height hint.*/
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ osgText::Font* osgText::readFontStream(std::istream& stream, const osgDB::Reader
|
|||||||
|
|
||||||
|
|
||||||
Font::Font(FontImplementation* implementation):
|
Font::Font(FontImplementation* implementation):
|
||||||
|
osg::Object(true),
|
||||||
_width(16),
|
_width(16),
|
||||||
_height(16),
|
_height(16),
|
||||||
_margin(1),
|
_margin(1),
|
||||||
|
|||||||
Reference in New Issue
Block a user