mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
dependencies lock
This commit is contained in:
parent
de0b890459
commit
7c5e15fade
3 changed files with 35 additions and 19 deletions
|
|
@ -530,7 +530,7 @@ void UiXmlReader::addIgnore(const std::string& tag) {
|
|||
std::shared_ptr<UINode> UiXmlReader::readUINode(xml::xmlelement element) {
|
||||
if (element->has("if")) {
|
||||
const auto& cond = element->attr("if").getText();
|
||||
if (cond.empty() || cond == "false") {
|
||||
if (cond.empty() || cond == "false" || cond == "nil") {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue