oops, constructors forgot fullpath

This commit is contained in:
David Rose 2003-03-04 15:59:55 +00:00
parent 81006f1eb4
commit 176c8458d5
2 changed files with 6 additions and 2 deletions

View File

@ -34,7 +34,8 @@ EggFilenameNode() {
INLINE EggFilenameNode:: INLINE EggFilenameNode::
EggFilenameNode(const string &node_name, const Filename &filename) : EggFilenameNode(const string &node_name, const Filename &filename) :
EggNode(node_name), EggNode(node_name),
_filename(filename) _filename(filename),
_fullpath(filename)
{ {
} }
@ -46,7 +47,8 @@ EggFilenameNode(const string &node_name, const Filename &filename) :
INLINE EggFilenameNode:: INLINE EggFilenameNode::
EggFilenameNode(const EggFilenameNode &copy) : EggFilenameNode(const EggFilenameNode &copy) :
EggNode(copy), EggNode(copy),
_filename(copy._filename) _filename(copy._filename),
_fullpath(copy._fullpath)
{ {
} }
@ -59,6 +61,7 @@ INLINE EggFilenameNode &EggFilenameNode::
operator = (const EggFilenameNode &copy) { operator = (const EggFilenameNode &copy) {
EggNode::operator = (copy); EggNode::operator = (copy);
_filename = copy._filename; _filename = copy._filename;
_fullpath = copy._fullpath;
return *this; return *this;
} }

View File

@ -78,6 +78,7 @@ operator = (const EggTexture &copy) {
_flags = copy._flags; _flags = copy._flags;
_transform = copy._transform; _transform = copy._transform;
_alpha_filename = copy._alpha_filename; _alpha_filename = copy._alpha_filename;
_alpha_fullpath = copy._alpha_fullpath;
return *this; return *this;
} }