Remove get_additional_data

OpenPype manager/containers don't use it so it's redundant in the code base.
This commit is contained in:
Roy Nieterau 2022-09-20 20:01:53 +02:00
parent 15610328be
commit 6bcb9dd247
2 changed files with 0 additions and 22 deletions

View file

@ -19,7 +19,6 @@ from .workio import (
from .lib import (
maintained_selection,
get_additional_data,
update_frame_range,
set_asset_framerange,
get_current_comp,
@ -48,7 +47,6 @@ __all__ = [
# lib
"maintained_selection",
"get_additional_data",
"update_frame_range",
"set_asset_framerange",
"get_current_comp",

View file

@ -177,26 +177,6 @@ def validate_comp_prefs(comp=None):
dialog.setStyleSheet(load_stylesheet())
def get_additional_data(container):
"""Get Fusion related data for the container
Args:
container(dict): the container found by the ls() function
Returns:
dict
"""
tool = container["_tool"]
tile_color = tool.TileColor
if tile_color is None:
return {}
return {"color": QtGui.QColor.fromRgbF(tile_color["R"],
tile_color["G"],
tile_color["B"])}
def switch_item(container,
asset_name=None,
subset_name=None,