mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
oops, bad modifyState
This commit is contained in:
parent
64ad508937
commit
88963dedb5
@ -670,7 +670,7 @@ issue_delta_modify(const RenderState *other,
|
|||||||
return return_new(new_state);
|
return return_new(new_state);
|
||||||
} else {
|
} else {
|
||||||
delete new_state;
|
delete new_state;
|
||||||
return other;
|
return this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -693,9 +693,6 @@ issue_delta_set(const RenderState *other,
|
|||||||
return other;
|
return other;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't need to build a new RenderState, because the return
|
|
||||||
// value will be exactly other.
|
|
||||||
|
|
||||||
Attributes::const_iterator ai = _attributes.begin();
|
Attributes::const_iterator ai = _attributes.begin();
|
||||||
Attributes::const_iterator bi = other->_attributes.begin();
|
Attributes::const_iterator bi = other->_attributes.begin();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user