Browse Source

Fix for ParticleAsset's getSelectedField method

- was not returning the name previously
Mike Lilligreen 11 years ago
parent
commit
c864617f91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/2d/assets/ParticleAsset_ScriptBinding.h

+ 1 - 1
engine/source/2d/assets/ParticleAsset_ScriptBinding.h

@@ -143,7 +143,7 @@ ConsoleMethodWithDocs(ParticleAsset, deselectField, ConsoleVoid, 2, 2, ())
 /*! Gets the selected field name or nothing if no field is selected.
 /*! Gets the selected field name or nothing if no field is selected.
     @return The selected field name or nothing if no fields is selected.
     @return The selected field name or nothing if no fields is selected.
 */
 */
-ConsoleMethodWithDocs(ParticleAsset, getSelectedField, ConsoleBool, 2, 2, ())
+ConsoleMethodWithDocs(ParticleAsset, getSelectedField, ConsoleString, 2, 2, ())
 {
 {
     // Get the selected field.
     // Get the selected field.
     const ParticleAssetField* pParticleAssetField = object->getParticleFields().getSelectedField();
     const ParticleAssetField* pParticleAssetField = object->getParticleFields().getSelectedField();