diff --git a/devel/build/buildAsyncExt.py b/devel/build/buildAsyncExt.py index f33ab8861..2afcd5f61 100644 --- a/devel/build/buildAsyncExt.py +++ b/devel/build/buildAsyncExt.py @@ -324,6 +324,7 @@ async def _processOperator(self, comp: COMP): self.context.resetCustomPars(comp) self.context.lockROPPars(comp) await self._processOperatorSubCompChildren(comp) + self.context.consolidateOperatorPythonModules(comp) if not comp.isPanel: comp.showCustomOnly = True self.log('Updating OP image for ' + comp.path) @@ -408,7 +409,7 @@ async def _consolidateSharedPythonMods(self): async def _removeAllBuildExcludeOps(self, scope: COMP): self.log(f'Removing buildExclude ops in {scope}') toRemove = scope.findChildren(tags=[RaytkTags.buildExclude.name], includeUtility=True) - chunks = [list(chunk) for chunk in chunked_iterable(toRemove, 30)] + chunks = [list(chunk) for chunk in chunked_iterable(toRemove, 100)] self.log(f'Found {len(toRemove)} ops to remove in {len(chunks)} chunks') total = len(chunks) for i in range(total): diff --git a/devel/components/misc/misc.tox b/devel/components/misc/misc.tox index 1eb6f164d..b525be03e 100644 Binary files a/devel/components/misc/misc.tox and b/devel/components/misc/misc.tox differ diff --git a/devel/devel.tox b/devel/devel.tox index 21b541a76..9be66e847 100644 Binary files a/devel/devel.tox and b/devel/devel.tox differ diff --git a/devel/profiler/profiler.py b/devel/profiler/profiler.py new file mode 100644 index 000000000..91c101b49 --- /dev/null +++ b/devel/profiler/profiler.py @@ -0,0 +1,9 @@ +# noinspection PyUnreachableCode +if False: + # noinspection PyUnresolvedReferences + from _stubs import * + from _typeAliases import * + +class Profiler: + def __init__(self, ownerComp: COMP): + self.ownerComp = ownerComp diff --git a/devel/profiler/profiler.tox b/devel/profiler/profiler.tox new file mode 100644 index 000000000..1b7c9cd71 Binary files /dev/null and b/devel/profiler/profiler.tox differ diff --git a/devel/streamer/streamer.tox b/devel/streamer/streamer.tox deleted file mode 100644 index c9dd347ff..000000000 Binary files a/devel/streamer/streamer.tox and /dev/null differ diff --git a/devel/toolkitEditor/mainMenu/mainMenu.py b/devel/toolkitEditor/mainMenu/mainMenu.py index 32cbdac08..6e7dea77c 100644 --- a/devel/toolkitEditor/mainMenu/mainMenu.py +++ b/devel/toolkitEditor/mainMenu/mainMenu.py @@ -95,6 +95,12 @@ def __init__(self, ownerComp: COMP): menuName='Tools', action=lambda: ext.toolkitEditor.saveAllROPs(incrementVersion=True), ), + _MenuItem( + 'updateAllShaderLibraries', + 'Update All Shader Libraries', + menuName='Tools', + action=lambda: ext.toolkitEditor.updateAllShaderLibraries(), + ), ], } diff --git a/devel/toolkitEditor/toolkitEditor.py b/devel/toolkitEditor/toolkitEditor.py index 0061f606a..156f18c9e 100644 --- a/devel/toolkitEditor/toolkitEditor.py +++ b/devel/toolkitEditor/toolkitEditor.py @@ -26,3 +26,13 @@ def saveAllROPSpecs(): def saveAllROPs(self, incrementVersion): RaytkTools().saveAllROPs(incrementVersion) + + def updateAllShaderLibraries(self): + for area in ops('/raytk', '/devel', '/toolkitEditor'): + if not area: + continue + for comp in area.findChildren(name='shaderLibraries'): + for dat in comp.findChildren(type=DAT, depth=1): + if dat.par['syncfile'] or dat.par['loadonstartpulse'] is None: + continue + dat.par.loadonstartpulse.pulse() diff --git a/devel/workArea/workArea.tox b/devel/workArea/workArea.tox index 08011e4bf..29863272b 100644 Binary files a/devel/workArea/workArea.tox and b/devel/workArea/workArea.tox differ diff --git a/docs/_data/toolkit.yaml b/docs/_data/toolkit.yaml index 077d4693e..6b36845e8 100644 --- a/docs/_data/toolkit.yaml +++ b/docs/_data/toolkit.yaml @@ -1 +1 @@ -toolkitVersion: '0.40' +toolkitVersion: '0.41' diff --git a/docs/_layouts/operatorCategory.html b/docs/_layouts/operatorCategory.html index 6865bd50d..d8daf15f6 100644 --- a/docs/_layouts/operatorCategory.html +++ b/docs/_layouts/operatorCategory.html @@ -17,19 +17,27 @@

Operators

-