-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NUI.Scene3D] Fix exception when ModelNode don't have ModelNode as child
If ModelNode don't have ModelNod as child, it might have some null handle exception when we DownCast to ModelNode. (For example, user try to get child ModelNode, but failed.) Currently, a lots of app don't consider ModelNode now. But in future we might need to add something under each ModelNode. To make Scene3D more safety, let we check null or invalidate, and then get/set the value internally. Signed-off-by: Eunki, Hong <[email protected]>
- Loading branch information
Eunki, Hong
committed
Nov 14, 2023
1 parent
08f1eb2
commit c882872
Showing
2 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters