mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-31 08:07:13 +01:00
parent
aed26cc13b
commit
0fa5feae1a
@ -463,7 +463,7 @@ void RasterizerStorage::multimesh_set_physics_interpolation_quality(RID p_multim
|
|||||||
void RasterizerStorage::multimesh_instance_reset_physics_interpolation(RID p_multimesh, int p_index) {
|
void RasterizerStorage::multimesh_instance_reset_physics_interpolation(RID p_multimesh, int p_index) {
|
||||||
MMInterpolator *mmi = _multimesh_get_interpolator(p_multimesh);
|
MMInterpolator *mmi = _multimesh_get_interpolator(p_multimesh);
|
||||||
if (mmi) {
|
if (mmi) {
|
||||||
ERR_FAIL_COND(p_index >= mmi->_num_instances);
|
ERR_FAIL_INDEX(p_index, mmi->_num_instances);
|
||||||
|
|
||||||
PoolVector<float>::Write w = mmi->_data_prev.write();
|
PoolVector<float>::Write w = mmi->_data_prev.write();
|
||||||
PoolVector<float>::Read r = mmi->_data_curr.read();
|
PoolVector<float>::Read r = mmi->_data_curr.read();
|
||||||
|
Loading…
Reference in New Issue
Block a user