mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
eggprogs: Fix compiler warnings
This commit is contained in:
parent
af27a9523c
commit
b50ad2efe9
@ -40,12 +40,11 @@ TypeHandle DaeCharacter::_type_handle;
|
||||
DaeCharacter::
|
||||
DaeCharacter(EggGroup *node_group, const FCDControllerInstance *instance) :
|
||||
_node_group(node_group),
|
||||
_name(node_group->get_name()),
|
||||
_skin_mesh(nullptr),
|
||||
_instance(instance),
|
||||
_skin_controller(nullptr),
|
||||
_skin_mesh(nullptr) {
|
||||
|
||||
_bind_shape_mat = LMatrix4d::ident_mat();
|
||||
_bind_shape_mat(LMatrix4d::ident_mat()),
|
||||
_name(node_group->get_name()),
|
||||
_skin_controller(nullptr) {
|
||||
|
||||
// If it's a skin controller, add the controller joints.
|
||||
const FCDController *controller = (const FCDController *)instance->GetEntity();
|
||||
|
@ -37,11 +37,11 @@ run() {
|
||||
if (!_strip_prefix.empty()) {
|
||||
nout << "Stripping prefix from nodes.\n";
|
||||
int num_renamed = 0;
|
||||
int num_egg_files = 0;
|
||||
//int num_egg_files = 0;
|
||||
Eggs::iterator ei;
|
||||
for (ei = _eggs.begin(); ei != _eggs.end(); ++ei) {
|
||||
num_renamed += (*ei)->rename_nodes(_strip_prefix, true);
|
||||
++num_egg_files;
|
||||
//++num_egg_files;
|
||||
}
|
||||
nout << " (" << num_renamed << " renamed.)\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user