[Render_3D][Fixed] Problems when the list of components is None

This commit is contained in:
Salvador E. Tropea 2022-11-01 13:26:26 -03:00
parent e874b3af8e
commit 3400dcca70
1 changed files with 3 additions and 1 deletions

View File

@ -853,7 +853,9 @@ class VariantOptions(BaseOptions):
def expand_kf_components(self, components):
""" Expands references to filters in show_components """
if not components or not self._filters_to_expand:
if not components:
return []
if not self._filters_to_expand:
return components
new_list = []
if self._comps: