Kaynağa Gözat

SDK Particle Emitter Node:
fixed typo

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

rem..om 14 yıl önce
ebeveyn
işleme
5992d43c38

+ 2 - 2
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeParticleEmitter.java

@@ -119,7 +119,7 @@ public class JmeParticleEmitter extends JmeGeometry {
 
     @Override
     public void propertyChange(String name, Object before, Object after) {
-        if (!name.equals("Emitt all particles")) {
+        if (!name.equals("Emit all particles")) {
             fireSave(true);
             firePropertyChange(name, before, after);
         }
@@ -149,7 +149,7 @@ public class JmeParticleEmitter extends JmeGeometry {
     }
 
     private Property createButtonProperty() {
-        return new PropertySupport.ReadWrite("emitt", Object.class, "Emitt all particles", "Click here to emitt all particles of this emitter ") {
+        return new PropertySupport.ReadWrite("emit", Object.class, "Emit all particles", "Click here to emit all particles of this emitter ") {
 
             JmeParticleEmitterButtonProperty pe;
 

+ 1 - 1
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeParticleEmitterButtonProperty.java

@@ -38,7 +38,7 @@ public class JmeParticleEmitterButtonProperty extends PropertyEditorSupport impl
 
     public InplaceEditor getInplaceEditor() {
         if (ed == null) {
-            ed = new ButtonInplaceEditor("Emitt!");
+            ed = new ButtonInplaceEditor("Emit!");
             ed.addActionListener(new ActionListener() {
 
                 public void actionPerformed(ActionEvent e) {