mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
prevent spammy build warnings
This commit is contained in:
parent
aa8285f5a4
commit
47d28ae37b
@ -392,11 +392,13 @@ get_egg_group(MayaNodeDesc *node_desc) {
|
|||||||
egg_group->add_object_type(object_type);
|
egg_group->add_object_type(object_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(get_vec3d_attribute(dag_object, "scrollUV", value)) {
|
if(has_attribute(dag_object, "scrollUV")) {
|
||||||
egg_group->set_scroll_u(value[0]);
|
if(get_vec3d_attribute(dag_object, "scrollUV", value)) {
|
||||||
egg_group->set_scroll_v(value[1]);
|
egg_group->set_scroll_u(value[0]);
|
||||||
|
egg_group->set_scroll_v(value[1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pvector<string> tag_attribute_names;
|
pvector<string> tag_attribute_names;
|
||||||
get_tag_attribute_names(dag_object, tag_attribute_names);
|
get_tag_attribute_names(dag_object, tag_attribute_names);
|
||||||
for (uint ti=0; ti < tag_attribute_names.size(); ti++) {
|
for (uint ti=0; ti < tag_attribute_names.size(); ti++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user