From a7db7735e7f2ed9dc7db48b37821cc1f9ac8ba5a Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Tue, 20 Dec 2022 04:41:15 +0100 Subject: [PATCH] Fixed reflection probe placement --- Editor/ReflectionProbeVolumeEditor.cs | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Editor/ReflectionProbeVolumeEditor.cs b/Editor/ReflectionProbeVolumeEditor.cs index 7652c2b..685f939 100644 --- a/Editor/ReflectionProbeVolumeEditor.cs +++ b/Editor/ReflectionProbeVolumeEditor.cs @@ -88,6 +88,8 @@ namespace Utils } } } + + Undo.RegisterFullObjectHierarchyUndo(reflectionProbeVolume.gameObject, "Place Reflection Probes"); } private void CheckSquare(Vector3[,] data, int size, int voxelSize, float threshold, float blendDistance, Transform transform) diff --git a/package.json b/package.json index 38878bd..72824d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ru.shazbot.utils", - "version": "4.1.0", + "version": "4.1.1", "displayName": "Utils", "description": "Utility useful for almost any project.", "licensesUrl": "https://git.shazbot.ru/Utils.git/tree/LICENSE.md", @@ -13,4 +13,4 @@ "url": "https://shazbot.ru/" }, "dependencies": { } -} \ No newline at end of file +}