36 lines
967 B
Text
36 lines
967 B
Text
/**
|
|
* PANDA 3D SOFTWARE
|
|
* Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
*
|
|
* All use of this software is subject to the terms of the revised BSD
|
|
* license. You should have received a copy of this license along
|
|
* with this source code in a file named "LICENSE."
|
|
*
|
|
* @file partGroup.I
|
|
* @author drose
|
|
* @date 1999-02-22
|
|
*/
|
|
|
|
/**
|
|
* This constructor is only intended for interal use and for derived classes.
|
|
* You should normally use the non-default constructor, below.
|
|
*/
|
|
INLINE PartGroup::
|
|
PartGroup(const std::string &name) :
|
|
Namable(name),
|
|
_children(get_class_type())
|
|
{
|
|
}
|
|
|
|
/**
|
|
* This constructor is only intended for interal use and for derived classes.
|
|
* You should normally use the make_copy() interface to make copies..
|
|
*/
|
|
INLINE PartGroup::
|
|
PartGroup(const PartGroup ©) :
|
|
Namable(copy),
|
|
_children(get_class_type())
|
|
{
|
|
// We don't copy children in the copy constructor. However, copy_subgraph()
|
|
// will do this.
|
|
}
|