mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
define bbpoint
This commit is contained in:
parent
0b1cd49273
commit
bf81caffed
@ -298,6 +298,11 @@ get_egg_group(MayaNodeDesc *node_desc) {
|
|||||||
egg_group->remove_object_type("billboard-point");
|
egg_group->remove_object_type("billboard-point");
|
||||||
egg_group->set_group_type(EggGroup::GT_instance);
|
egg_group->set_group_type(EggGroup::GT_instance);
|
||||||
egg_group->set_billboard_type(EggGroup::BT_point_camera_relative);
|
egg_group->set_billboard_type(EggGroup::BT_point_camera_relative);
|
||||||
|
|
||||||
|
} else if (egg_group->has_object_type("bbpoint")) {
|
||||||
|
egg_group->remove_object_type("bbpoint");
|
||||||
|
egg_group->set_group_type(EggGroup::GT_instance);
|
||||||
|
egg_group->set_billboard_type(EggGroup::BT_point_camera_relative);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We also treat the object type "dcs" and "model" as a special
|
// We also treat the object type "dcs" and "model" as a special
|
||||||
|
Loading…
x
Reference in New Issue
Block a user