Browse Source

Update ImageAsset_ScriptBinding.h

Fixed a long-standing bug with ImageAsset.removeExplicitCell(). Odds are that nobody has ever needed to use this function. It has been fixed.
Peter Robinson 3 years ago
parent
commit
9a22a7e546
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/2d/assets/ImageAsset_ScriptBinding.h

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

@@ -433,7 +433,7 @@ ConsoleMethodWithDocs(ImageAsset, insertExplicitCell, ConsoleBool, 8, 8, (int ce
     @param cellIndex The zero-based index to remove the cell from.
     @return Whether the operation was successful or not.
 */
-ConsoleMethodWithDocs(ImageAsset, removeExplicitCell, ConsoleBool, 7, 7, (int cellIndex))
+ConsoleMethodWithDocs(ImageAsset, removeExplicitCell, ConsoleBool, 3, 3, (int cellIndex))
 {
     // Fetch cell index.
     const S32 cellIndex = dAtoi( argv[2] );