mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
return empty dict instead of container
This commit is contained in:
parent
88fe63fe57
commit
b7910446ff
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ def get_additional_data(container):
|
|||
tool = container["_tool"]
|
||||
tile_color = tool.TileColor
|
||||
if tile_color is None:
|
||||
return container
|
||||
return {}
|
||||
|
||||
return {"color": QtGui.QColor(clamp(tile_color["R"]),
|
||||
clamp(tile_color["G"]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue