Fix breaking api change to method BreakdownManager::scan_scene. This method was refactored to allow the file model to execute the scan scene in incremental steps to improve performance, but the return value was changed from List[FileItem] to List[dict]. This PR reverts this api breaking change.
This fixes Apps that use the Breakdown2 api:
tk-multi-scenebuilder
tk-multi-workfiles2 (feature that is on turned on via config)
Changes:
scan_scene should return a list of FileItem objects (as it did before)
Add new method get_scene_objects to get the scene objects as a list of dicts
Fix missing filters passed to SG query when not using BG task manager
Fix breaking api change to method
BreakdownManager::scan_scene
. This method was refactored to allow the file model to execute the scan scene in incremental steps to improve performance, but the return value was changed from List[FileItem] to List[dict]. This PR reverts this api breaking change.This fixes Apps that use the Breakdown2 api:
Changes:
scan_scene
should return a list ofFileItem
objects (as it did before)get_scene_objects
to get the scene objects as a list of dicts