You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,15 @@ All notable changes to this package will be documented in this file.
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
7
+
## [Indev]
8
+
9
+
### Fixed
10
+
- On large scenes, the first object you'd add to a profile could throw a `NullReferenceException`. ([#530](https://github.com/Unity-Technologies/PostProcessing/pull/530))
11
+
12
+
### Changed
13
+
- Minor scripting API improvements. ([#530](https://github.com/Unity-Technologies/PostProcessing/pull/530))
14
+
- Script-instantiated profiles in volumes are now properly supported in the inspector. ([#530](https://github.com/Unity-Technologies/PostProcessing/pull/530))
EditorGUI.PrefixLabel(labelRect,EditorUtilities.GetContent("Profile|A reference to a profile asset."));
71
+
EditorGUI.PrefixLabel(labelRect,EditorUtilities.GetContent(m_Target.HasInstantiatedProfile()?"Profile (Instance)|A copy of a profile asset.":"Profile|A reference to a profile asset."));
m_Target.profile=null;// Make sure we're not using an instantiated profile anymore
107
+
98
108
assetHasChanged=true;
99
109
}
100
110
101
-
if(showCopy&&GUI.Button(buttonCopyRect,EditorUtilities.GetContent("Clone|Create a new profile and copy the content of the currently assigned profile."),EditorStyles.miniButtonRight))
111
+
if(showCopy&&GUI.Button(buttonCopyRect,EditorUtilities.GetContent(m_Target.HasInstantiatedProfile()?"Save|Save the instantiated profile":"Clone|Create a new profile and copy the content of the currently assigned profile."),EditorStyles.miniButtonRight))
102
112
{
103
113
// Duplicate the currently assigned profile and save it as a new profile
0 commit comments