Simplify @pyside_cache decorator
This fixes a compatibility issue with Python 3.9+, and at the same time avoids a not-yet-quite-stable area of Blender's Python API.
This commit is contained in:
@@ -91,7 +91,7 @@ def scene_sample_count(scene) -> int:
|
||||
return samples
|
||||
|
||||
|
||||
@pyside_cache("manager")
|
||||
@pyside_cache
|
||||
def available_managers(self, context):
|
||||
"""Returns the list of items used by a manager-selector EnumProperty."""
|
||||
|
||||
|
Reference in New Issue
Block a user