mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
squelch compiler warnings
This commit is contained in:
parent
7c5e24c2ad
commit
343408561a
@ -170,6 +170,9 @@ get_all_defs(SFNodeRef &vrml, VRMLToEggConverter::Nodes &nodes) {
|
|||||||
vrml._p = (*ni).second;
|
vrml._p = (*ni).second;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
VrmlNode *node = vrml._p;
|
VrmlNode *node = vrml._p;
|
||||||
@ -396,8 +399,6 @@ vrml_shape(const VrmlNode *node, EggGroup *group,
|
|||||||
const LMatrix4d &net_transform) {
|
const LMatrix4d &net_transform) {
|
||||||
const VrmlNode *geometry = node->get_value("geometry")._sfnode._p;
|
const VrmlNode *geometry = node->get_value("geometry")._sfnode._p;
|
||||||
|
|
||||||
double transparency = 0.0;
|
|
||||||
|
|
||||||
if (geometry != NULL) {
|
if (geometry != NULL) {
|
||||||
VRMLAppearance appearance(node->get_value("appearance")._sfnode._p);
|
VRMLAppearance appearance(node->get_value("appearance")._sfnode._p);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user