Skip to content

Commit 00cd783

Browse files
[cuegui] Add Max Threads and Memory Optimizer to Attributes Plugin (#1639)
- Added Max Threads and Memory Optimizer attributes to the Attributes plugin - Enhances usability by providing key layer info when the Properties popup is unavailable
1 parent 19b0883 commit 00cd783

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cuegui/cuegui/plugins/AttributesPlugin.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ def dataSource(self, layer, preload):
252252
"tags": layer.data.tags,
253253
"threadable": str(layer.data.is_threadable),
254254
"minCores": "%0.2f" % layer.data.min_cores,
255+
"maxCores": "%0.2f" % layer.data.max_cores,
256+
"memory optimizer enabled": str(layer.data.memory_optimizer_enabled),
255257
"minMemory": "%0.2fMB" % (layer.data.min_memory / 1024.0),
256258
"outputs": {},
257259
"frames": {
@@ -281,8 +283,8 @@ def dataSource(self, layer, preload):
281283
"maxRss": int(layer.data.layer_stats.max_rss)
282284
},
283285
"__childOrder":["id","layer","services","type","command","range","tags",
284-
"threadable","minCores","minMemory","outputs",
285-
"depends", "frames","resources"],
286+
"threadable","minCores","maxCores","memory optimizer enabled",
287+
"minMemory","outputs", "depends", "frames","resources"],
286288
"depends": getDependsForm(preload["depends"]),
287289
}
288290

0 commit comments

Comments
 (0)