Skip to content

Commit 18d1dd9

Browse files
Copilotriccardobl
andcommitted
Add setBoundingUpdateBudget for incremental per-frame bounds update in SkinningControl
Agent-Logs-Url: https://github.com/jMonkeyEngine/jmonkeyengine/sessions/3d4465a6-f250-44fe-b834-04690fbb77f2 Co-authored-by: riccardobl <4943530+riccardobl@users.noreply.github.com>
1 parent fab7f60 commit 18d1dd9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

jme3-core/src/main/java/com/jme3/anim/SkinningControl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ public void read(JmeImporter im) throws IOException {
10521052
armature = (Armature) in.readSavable("armature", null);
10531053
updateBounds = in.readBoolean("updateBounds", false);
10541054
boundingUpdateBudget = in.readInt("boundingUpdateBudget", Integer.MAX_VALUE);
1055+
boundsUpdateStates = new HashMap<>();
10551056

10561057
for (MatParamOverride mpo : spatial.getLocalMatParamOverrides().getArray()) {
10571058
if (mpo.getName().equals("NumberOfBones") || mpo.getName().equals("BoneMatrices")) {

0 commit comments

Comments
 (0)