tiled/tiled-1.1.0-empty-return.patch

12 lines
454 B
Diff
Raw Normal View History

- Update to 1.1.0: * Added support for infinite maps (by Ketan Gupta, #260) * Added support for Wang tiles and related tools (by Benjamin Trotter) * Added support for reusable object templates (by Mohamed Thabet) * Added icon for animation editor in the tileset editor (by Ketan Gupta, #1706) * Added ability to reorder terrain types (by Justin Jacobs, #1603) * Added support for custom input formats and TMX output to the --export-map command-line option * Added island RPG example based on Beach tileset by finalbossblues * Added file-related context menu actions to tileset tabs * Added support for exporting tilesets, including to Lua format (by Conrad Mercer, #1213) * Improved polygon node handles and drag behavior * Fixed %executablepath variable for executables found in PATH (#1648) * Fixed Delete key to delete selected polygon nodes when appropriate (by Ketan Gupta, #1555) * Fixed crash when saving two new maps using the same file name (#1734) * Fixed selection rectangle's shadow offset when zooming (by Antoine Gersant, #1796) * Fixed potential crash after deleting object or group layers * Automapping: Don't fail if an input/inputnot layer isn't found * Automapping: Added a "StrictEmpty" flag to input layers * GMX plugin: Added support for defining views with objects (by William Taylor, #1621) * GMX plugin: Start counting default tile layer depth from 1000000 (#1814) * tBIN plugin: Added read/write support for the tBIN map format (by Chase Warrington, #1560) * libtiled-java: Generate classes from XSD, some fixes and build with Maven (by Mike Thomas, #1637) * libtiled-java: Added support for manipulating non-consecutive tile IDs in a tileset (by Stéphane Seng) * Python plugin: Adjusted example scripts to API changes (by spiiin, #1769) * plugin: Various changes (by Justin Jacobs, #1781) * TMW plugin: Removed since it is no longer needed * Updated translations - Add tiled-1.1.0-empty-return.patch: Fix 'Program returns random data in a function' OBS-URL: https://build.opensuse.org/package/show/games:tools/tiled?expand=0&rev=20
2018-01-04 11:31:37 +00:00
diff -urEbwB tiled-1.1.0/src/libtiled/tileset.cpp tiled-1.1.0.new/src/libtiled/tileset.cpp
--- tiled-1.1.0/src/libtiled/tileset.cpp 2018-01-03 11:57:44.000000000 +0100
+++ tiled-1.1.0.new/src/libtiled/tileset.cpp 2018-01-04 12:00:09.806029317 +0100
@@ -786,6 +786,7 @@
case Tileset::Isometric:
return QLatin1String("isometric");
}
+ return QString();
}
Tileset::Orientation Tileset::orientationFromString(const QString &string)