Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
NULL path bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoalan committed Aug 18, 2017
1 parent d56b3d0 commit 2978675
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Blender/BlenderConnection.cpp
Expand Up @@ -234,6 +234,8 @@ static std::atomic_bool BlenderFirstInit(false);

static bool RegFileExists(const hecl::SystemChar* path)
{
if (!path)
return false;
hecl::Sstat theStat;
return !hecl::Stat(path, &theStat) && S_ISREG(theStat.st_mode);
}
Expand Down

0 comments on commit 2978675

Please sign in to comment.