Skip to content

Commit

Permalink
Update editor/import/3d/resource_importer_scene.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: A Thousand Ships <[email protected]>
  • Loading branch information
fire and AThousandShips authored Nov 24, 2024
1 parent 0070c8a commit f3e823b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/import/3d/resource_importer_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2820,7 +2820,7 @@ void ResourceImporterScene::_generate_editor_preview_for_scene(const String &p_p
return;
}
ERR_FAIL_COND_MSG(p_path.is_empty(), "Path is empty, cannot generate preview.");
ERR_FAIL_COND_MSG(!p_scene, "Scene is null, cannot generate preview.");
ERR_FAIL_NULL_MSG(p_scene, "Scene is null, cannot generate preview.");
EditorInterface::get_singleton()->make_scene_preview(p_path, p_scene, 1024);
}

Expand Down

0 comments on commit f3e823b

Please sign in to comment.