Cleanup: incorrect null check in asset library
Found by clang tidy (P2439).
This commit is contained in:
@@ -85,7 +85,7 @@ void AssetLibrary::on_save_post(struct Main *main,
|
||||
struct PointerRNA ** /*pointers*/,
|
||||
const int /*num_pointers*/)
|
||||
{
|
||||
if (this->catalog_service) {
|
||||
if (this->catalog_service == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user