We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0209ae0 commit 8ef05d4Copy full SHA for 8ef05d4
src/scratch/inputvalue.cpp
@@ -120,7 +120,10 @@ void InputValue::setValuePtr(const std::shared_ptr<Entity> &newValuePtr)
120
else {
121
impl->valuePtr = nullptr;
122
impl->valueId = "";
123
- std::cout << "warning: unsupported input value type (use InputValue::setValueBlock() to set the block)" << std::endl;
+
124
+ if (newValuePtr)
125
+ std::cout << "warning: unsupported input value type (use InputValue::setValueBlock() to set the block)" << std::endl;
126
127
return;
128
}
129
0 commit comments