Skip to content

Commit 36881e7

Browse files
committed
remove unused field
1 parent 1bc14f6 commit 36881e7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

jme3-core/src/main/java/com/jme3/cinematic/events/AnimEvent.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class AnimEvent extends AbstractCinematicEvent {
6060
private static final Logger logger
6161
= Logger.getLogger(AnimEvent.class.getName());
6262

63-
private static final String CINEMATIC_REF = "Cinematic:Ref";
63+
private static final String CINEMATIC_REF = "Cinematic:Refs";
6464

6565
private static final AtomicLong spatialId = new AtomicLong();
6666

@@ -72,10 +72,6 @@ public class AnimEvent extends AbstractCinematicEvent {
7272
* Control that will play the animation
7373
*/
7474
private AnimComposer composer;
75-
/*
76-
* Cinematic that contains this event
77-
*/
78-
private Cinematic cinematic;
7975
/*
8076
* name of the animation action to be played
8177
*/
@@ -169,7 +165,6 @@ private Spatial findModelByRef(Spatial sp) {
169165
@Override
170166
public void initEvent(Application app, Cinematic cinematic) {
171167
super.initEvent(app, cinematic);
172-
this.cinematic = cinematic;
173168

174169
if (composer == null) {
175170
Spatial model = findModelByRef(cinematic.getScene());
@@ -185,7 +180,6 @@ public void initEvent(Application app, Cinematic cinematic) {
185180
@Override
186181
public void dispose() {
187182
super.dispose();
188-
cinematic = null;
189183
composer = null;
190184
}
191185

0 commit comments

Comments
 (0)