Core: Fix premature merge of property in debug mode
Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
This commit is contained in:
committed by
Kacper Donat
parent
2d72eb4269
commit
411a54987c
@@ -327,11 +327,8 @@ void LinkBaseExtension::setProperty(int idx, Property* prop)
|
||||
if (!prop) {
|
||||
propName = "<null>";
|
||||
}
|
||||
else if (prop->getContainer()) {
|
||||
propName = prop->getName();
|
||||
}
|
||||
else {
|
||||
propName = extensionGetPropertyName(prop);
|
||||
propName = prop->getName();
|
||||
}
|
||||
if (!Property::isValidName(propName)) {
|
||||
propName = "?";
|
||||
|
||||
Reference in New Issue
Block a user