mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 06:44:55 +02:00
Get value from editor.
This commit is contained in:
parent
ff4795d9a5
commit
4c07d61257
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <QGroupBox>
|
||||
#include <QLineEdit>
|
||||
#include <QListWidget>
|
||||
#include <QMetaProperty>
|
||||
#include <QPushButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
|
@ -333,7 +334,8 @@ void MetavoxelEditor::resetState() {
|
|||
}
|
||||
|
||||
void MetavoxelEditor::applyValue(const glm::vec3& minimum, const glm::vec3& maximum) {
|
||||
|
||||
QWidget* editor = _value->layout()->itemAt(0)->widget();
|
||||
QVariant value = editor->metaObject()->userProperty().read(editor);
|
||||
}
|
||||
|
||||
ProgramObject MetavoxelEditor::_gridProgram;
|
||||
|
|
Loading…
Reference in a new issue