Commit f0da8d57 authored by promayon's avatar promayon
Browse files

FIXED regression for separate/independent object property


git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@934 ec899d31-69d1-42ba-9299-647d76f65fb3
parent d2eb12be
......@@ -12,7 +12,7 @@ doi:10.1007/s00330-004-2482-2
<atoms>
<structuralComponent name="Nodes" >
<atom>
<atomProperties index="0" x="-52.5" y="141.491" z="-88" testdynprop="ceci est un test" />
<atomProperties index="0" x="-52.5" y="141.491" z="-88" additionalProperties="OK" />
</atom>
<atom>
<atomProperties index="1" x="22.5" y="150" z="-88" />
......
......@@ -86,11 +86,11 @@ void PropertyExplorer::refresh(Viewer *whoIsAsking) {
tabWidget->addTab(customWidget, QString(currentComponent->getName() + " Properties"));
}
}
// update the property editor
//-- update the property editor
// first clear all (otherwise if a new dynamic properties was added, it won't show)
theController->setObject(NULL);
// rebuild all GUI
theController->setObject(currentComponent);
theController->setObject(currentComponent->getPropertyObject());
}
else {
// clean everything only if there is no selection and cleaning was not already done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment