<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Hierarchy Tools / Backgrounds not working]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2046&amp;type=atom" />
	<updated>2022-10-10T22:04:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2046</id>
		<entry>
			<title type="html"><![CDATA[Re: Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8654#p8654" />
			<content type="html"><![CDATA[<p>Thanks for the bug report.<br />The problem was that the scene references were not initialized when the editor was started.<br />Problem fixed. The patch is attached.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-10-10T22:04:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8654#p8654</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8653#p8653" />
			<content type="html"><![CDATA[<p>Alex, I am experiencing some kind of a follow up bug. When I color a GO in the hierarchy, it is shown as expected. When I load another scene and then reload the scene with the colored GO it is shown as expected, too. However, when I close Unity entirely and then load the scene with the colored GO, the color is no longer displayed.</p><p>Any ideas how this could happen?</p>]]></content>
			<author>
				<name><![CDATA[digitalbreed]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2268</uri>
			</author>
			<updated>2022-10-10T21:28:51Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8653#p8653</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8652#p8652" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Update:<br />I tested the issue and it happens on Mac OS.<br />Your fix works well on Win and Mac, so I&#039;ll include it in the next version of the asset.<br />Thank you very much for sharing this.</p></blockquote></div><p>That&#039;s great news! Happy to help!</p>]]></content>
			<author>
				<name><![CDATA[digitalbreed]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2268</uri>
			</author>
			<updated>2022-10-10T15:23:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8652#p8652</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8650#p8650" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Thank you very much for your bug report and investigation.<br />I am not a Mac user and do not have such devices, but I will try to find a way to test and fix this problem.</p><p>Update:<br />I tested the issue and it happens on Mac OS.<br />Your fix works well on Win and Mac, so I&#039;ll include it in the next version of the asset.<br />Thank you very much for sharing this.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-10-09T17:41:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8650#p8650</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8649#p8649" />
			<content type="html"><![CDATA[<p>I managed to get the popup window working by:</p><p>1. changing IconSelector.OnHierarchyGUI to use EventType.ContextClick<br />2. immediately calling wnd.Focus() after wnd.ShowPopup() in GameObjectHierarchySettings</p><p>Not sure if my issue is Mac specific or anything else but I hope my findings help to improve UEE.</p>]]></content>
			<author>
				<name><![CDATA[digitalbreed]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2268</uri>
			</author>
			<updated>2022-10-08T22:34:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8649#p8649</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8648#p8648" />
			<content type="html"><![CDATA[<p>I kept digging a little. The issue is that I am not receiving an event MouseUp in IconSelector.OnHierarchyGUI. The order of events when I hover and click an item is:</p><p>- repaint<br />- Layout<br />- mouseDown<br />- ContextClick</p><p>There&#039;s no mouseUp following that.</p><p>So I changed that bit to check for EventType.ContextClick instead, so the event is now successfully consumed, the standard context menu doesn&#039;t appear, and I can see that GameObjectHierarchySettings.ShowAtPosition is invoked including wnd.ShowPopup(); --- but it still won&#039;t appear on screen <img src="https://forum.infinity-code.com/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>I found that I see the popup when I change GameObjectHierarchySettings.closeOnLossFocus to false. So I looked into the&nbsp; ValidateCloseOnLossFocus implementation which only keeps the window open if the focused window&#039;s name is &quot;ColorPicker&quot; or &quot;ObjectSelector&quot;. However, I found that after opening the popup the focused window for me is &quot;SceneHierarchyWindow&quot;.</p>]]></content>
			<author>
				<name><![CDATA[digitalbreed]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2268</uri>
			</author>
			<updated>2022-10-08T21:53:51Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8648#p8648</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Hierarchy Tools / Backgrounds not working]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8647#p8647" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I am using UEE v3.0.6.1 in Unity 2021.3.11f1 on a MacBook Pro M1.</p><p>I would like to use the hierarchy backgrounds feature but a right click on a game object in the hierarchy doesn&#039;t open the window shown in the documentation. I get the regular context menu that opens on right click at any other location, see screenshot.</p><p>I tried restarting the editor after installation and also tried disabling unsafe features from the UEE settings without any effect.</p><p>Please advise.</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[digitalbreed]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2268</uri>
			</author>
			<updated>2022-10-08T17:18:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8647#p8647</id>
		</entry>
</feed>
