From 7355c2ac783ae1911d8952cbc1dfc4d6e13b565d Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 11 Aug 2020 17:10:22 +0000 Subject: [PATCH] 3.0.0-preview.15 # [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)) --- CHANGELOG.md | 7 +++++++ Scripts/Editor/UIParticleEditor.cs | 10 ++++++++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) 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": {