build on Irix

This commit is contained in:
David Rose 2004-12-01 19:06:16 +00:00
parent 590e4ad6f1
commit 1dfa65881b
2 changed files with 4 additions and 4 deletions

View File

@ -691,7 +691,7 @@ fill_mesh(XFileDataNode *obj) {
// Some properties are stored as children of the mesh.
int num_objects = obj->get_num_objects();
for (int i = 0; i < num_objects; i++) {
for (i = 0; i < num_objects; i++) {
if (!fill_mesh_child(obj->get_object(i))) {
return false;
}
@ -918,7 +918,7 @@ fill_material_list(XFileDataNode *obj) {
// Now look for children of the MaterialList object. These should
// all be Material objects.
int num_objects = obj->get_num_objects();
for (int i = 0; i < num_objects; i++) {
for (i = 0; i < num_objects; i++) {
XFileDataNode *child = obj->get_object(i);
if (child->is_standard_object("Material")) {
XFileMaterial *material = new XFileMaterial;

View File

@ -5,7 +5,7 @@
egg:c pandaegg:m \
mathutil:c linmath:c putil:c panda:m \
express:c pandaexpress:m \
dtoolconfig dtool pystub \
dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
#define SOURCES \
eggToX.cxx eggToX.h
@ -19,7 +19,7 @@
egg:c pandaegg:m \
mathutil:c linmath:c putil:c panda:m \
express:c pandaexpress:m \
dtoolconfig dtool pystub \
dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
#define SOURCES \
xFileToEgg.cxx xFileToEgg.h