Rename Shear to Skew

The property, tool, settings, strings and saved attribute are now Skew
(SkewX/SkewY in the editor's copy). Files with ShearX/ShearY still load,
and settings saved under the old names carry over. Goldens differ only in
the attribute name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-08 15:42:36 -04:00
1 parent 2ce8795b4a
commit 1381824fb7
167 files changed
+984 -967

No files matched your search

+5
View File
@@ -14,6 +14,8 @@ using namespace glm;
namespace anm2ed
{
constexpr std::string_view SETTINGS_SHEAR = "Shear";
constexpr const char* COMPONENT_SUFFIXES_XY[] = {"X", "Y"};
constexpr const char* COMPONENT_SUFFIXES_WH[] = {"W", "H"};
constexpr const char* COMPONENT_SUFFIXES_RGBA[] = {"R", "G", "B", "A"};
@@ -260,6 +262,9 @@ DockSpace ID=0x123F8F08 Window=0x6D581B32 Pos=8,62 Size=1902,991
if (eq == std::string::npos) continue;
auto key = line.substr(0, eq);
// Skew settings were once named for shear.
if (auto legacy = key.find(SETTINGS_SHEAR); legacy != std::string::npos)
key.replace(legacy, SETTINGS_SHEAR.size(), "Skew");
std::istringstream ss(line.substr(eq + 1));
#define X(symbol, name, string, type, ...) \