mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
pgraphnodes: Remove unused variable
This commit is contained in:
parent
ed397b3ab8
commit
c8a35641c1
@ -190,8 +190,6 @@ cull_callback(CullTraverser *trav, CullTraverserData &data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (int index = 0; index < num_children; ++index) {
|
for (int index = 0; index < num_children; ++index) {
|
||||||
const Switch &sw = cdata->_switch_vector[index];
|
|
||||||
|
|
||||||
CPT(InstanceList) instances = data._instances->without(in_range[index]);
|
CPT(InstanceList) instances = data._instances->without(in_range[index]);
|
||||||
if (!instances->empty()) {
|
if (!instances->empty()) {
|
||||||
// At least one instance is visible in this switch level.
|
// At least one instance is visible in this switch level.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user