Setup assistant: avoid null
access
This commit is contained in:
parent
7d3d3d1d60
commit
3b06cdf519
@ -395,7 +395,7 @@ export default {
|
|||||||
this.blenderExeCheckResult = result;
|
this.blenderExeCheckResult = result;
|
||||||
if (result.is_usable) {
|
if (result.is_usable) {
|
||||||
this.selectedBlender = result;
|
this.selectedBlender = result;
|
||||||
} else if (this.selectedBlender.source === 'input_path') {
|
} else if (this.selectedBlender != null && this.selectedBlender.source === 'input_path') {
|
||||||
this.selectedBlender = null;
|
this.selectedBlender = null;
|
||||||
}
|
}
|
||||||
this._refreshAllBlenders();
|
this._refreshAllBlenders();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user