TTF Loading Fixed
This commit is contained in:
1 parent
e1f615c774
commit
54cfc89f38
13 files changed
+192
-59
No files matched your search
@@ -19,7 +19,7 @@ UIComponent::UIComponent(SceneItem *item) :
|
||||
|
||||
UIComponentDimensional * UIComponent::getParentDimensional() {
|
||||
auto parent = this->transform->getParent();
|
||||
if(!parent) return nullptr;
|
||||
if(parent == nullptr) return nullptr;
|
||||
auto dimensional = parent->item->getComponent<UIComponentDimensional>();
|
||||
assertNotNull(dimensional);
|
||||
return dimensional;
|
||||
|
||||
Reference in new issue
Block a user