mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix flatten plane
This commit is contained in:
parent
82c8616e91
commit
5f3be0ab9a
@ -438,7 +438,7 @@ r_flatten(PandaNode *grandparent_node, PandaNode *parent_node,
|
||||
<< "considering radius of " << *parent_node
|
||||
<< ": " << *bs << " vs. " << _combine_radius << "\n";
|
||||
}
|
||||
if (bs->is_empty() || bs->get_radius() <= _combine_radius) {
|
||||
if (!bs->is_infinite() && (bs->is_empty() || bs->get_radius() <= _combine_radius)) {
|
||||
// This node fits within the specified radius; from here on
|
||||
// down, we will have CS_other set, instead of
|
||||
// CS_within_radius.
|
||||
|
Loading…
x
Reference in New Issue
Block a user