diff --git a/CHANGELOG.md b/CHANGELOG.md index f41eb95..b41da98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [3.0.0-preview.15](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.14...v3.0.0-preview.15) (2020-08-11) + + +### Bug Fixes + +* An exception in the OnSceneGUI caused the scale of the transformation to change unintentionally ([75413e0](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/75413e0e2cff42a85b73b33e17e0bb6344ecc8f6)) + # [3.0.0-preview.14](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.13...v3.0.0-preview.14) (2020-08-11) diff --git a/Scripts/Editor/UIParticleEditor.cs b/Scripts/Editor/UIParticleEditor.cs index f343b3b..9691892 100644 --- a/Scripts/Editor/UIParticleEditor.cs +++ b/Scripts/Editor/UIParticleEditor.cs @@ -282,8 +282,14 @@ namespace Coffee.UIExtensions trans.localScale = Vector3.Scale(localScale, x.canvas.rootCanvas.transform.localScale * x.scale); }); - foreach (var ui in _shapeModuleUIs) - ui.OnSceneViewGUI(); + try + { + foreach (var ui in _shapeModuleUIs) + ui.OnSceneViewGUI(); + } + catch + { + } postAction(); ShapeModuleUI.s_GizmoColor.m_Color = origin; diff --git a/package.json b/package.json index ffb8e86..3710ec7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.coffee.ui-particle", "displayName": "UI Particle", "description": "This plugin provide a component to render particle effect for uGUI.\nThe particle rendering is maskable and sortable, without Camera, RenderTexture or Canvas.", - "version": "3.0.0-preview.14", + "version": "3.0.0-preview.15", "unity": "2018.2", "license": "MIT", "repository": {