File tree 2 files changed +3
-3
lines changed
src/main/java/maud/model/cgm
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
The com.jme3 software packages are Copyright (c) 2009-2019 jMonkeyEngine
2
- The maud software packages are Copyright (c) 2017-2024 Stephen Gold
2
+ The maud software packages are Copyright (c) 2017-2025 Stephen Gold
3
3
4
4
All rights reserved.
5
5
Original file line number Diff line number Diff line change 1
1
/*
2
- Copyright (c) 2018-2023, Stephen Gold
2
+ Copyright (c) 2018-2025 Stephen Gold
3
3
All rights reserved.
4
4
5
5
Redistribution and use in source and binary forms, with or without
@@ -298,7 +298,7 @@ void setCgm(Cgm newCgm) {
298
298
Spatial setSpatial (Spatial newSpatial ) {
299
299
CgmPhysics physics = cgm .getPhysics ();
300
300
DynamicAnimControl dac = find ();
301
- Spatial oldSpatial = dac .getSpatial ();
301
+ Spatial oldSpatial = ( dac == null ) ? null : dac .getSpatial ();
302
302
if (oldSpatial != null ) {
303
303
physics .removePhysicsControl (dac );
304
304
You can’t perform that action at this time.
0 commit comments