diff --git a/spine-c/spine-c/src/spine/Atlas.c b/spine-c/spine-c/src/spine/Atlas.c index 92437633f..11ceb7d85 100644 --- a/spine-c/spine-c/src/spine/Atlas.c +++ b/spine-c/spine-c/src/spine/Atlas.c @@ -70,8 +70,8 @@ static void trim(Str* str) { (str->begin)++; if (str->begin == str->end) return; str->end--; - while (isspace((unsigned char)*str->end) && str->end >= str->begin) - str->end--; + /*while (isspace((unsigned char)*str->end) && str->end >= str->begin) + str->end--;*/ str->end++; } diff --git a/spine-cpp/spine-cpp/src/spine/Atlas.cpp b/spine-cpp/spine-cpp/src/spine/Atlas.cpp index 6b6595493..53c69e981 100644 --- a/spine-cpp/spine-cpp/src/spine/Atlas.cpp +++ b/spine-cpp/spine-cpp/src/spine/Atlas.cpp @@ -249,9 +249,9 @@ void Atlas::trim(Str *str) { str->end--; - while (isspace((unsigned char) *str->end) && str->end >= str->begin) { + /*while (isspace((unsigned char) *str->end) && str->end >= str->begin) { str->end--; - } + }*/ str->end++; } diff --git a/spine-csharp/src/Animation.cs b/spine-csharp/src/Animation.cs index e0398e664..b2c21bbf3 100644 --- a/spine-csharp/src/Animation.cs +++ b/spine-csharp/src/Animation.cs @@ -633,10 +633,10 @@ namespace Spine { slot.a = slotData.a; return; case MixBlend.First: - slot.r += (slot.r - slotData.r) * alpha; - slot.g += (slot.g - slotData.g) * alpha; - slot.b += (slot.b - slotData.b) * alpha; - slot.a += (slot.a - slotData.a) * alpha; + slot.r += (slotData.r - slot.r) * alpha; + slot.g += (slotData.g - slot.g) * alpha; + slot.b += (slotData.b - slot.b) * alpha; + slot.a += (slotData.a - slot.a) * alpha; return; } return; diff --git a/spine-ts/widget/example/iframe-local.html b/spine-ts/widget/example/iframe-local.html new file mode 100644 index 000000000..1f470102d --- /dev/null +++ b/spine-ts/widget/example/iframe-local.html @@ -0,0 +1,29 @@ + + +
+ + + + + + + + + + + + + +