mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix source variables not being marked as modified
This commit is contained in:
@@ -3287,6 +3287,9 @@ RDTreeWidgetItem *ShaderViewer::makeSourceVariableNode(const SourceVariableMappi
|
||||
for(RDTreeWidgetItem *c : children)
|
||||
node->addChild(c);
|
||||
|
||||
if(modified)
|
||||
node->setForegroundColor(QColor(Qt::red));
|
||||
|
||||
node->setTag(QVariant::fromValue(VariableTag(localName, l.offset, globalVarIdx, localVarIdx)));
|
||||
|
||||
return node;
|
||||
|
||||
Reference in New Issue
Block a user