Merge branch 'master' into blender2.8
[blender.git] / source / blender / freestyle / intern / application / Controller.cpp
index 759f645..200e3eb 100644 (file)
@@ -928,7 +928,7 @@ Render *Controller::RenderStrokes(Render *re, bool render)
 
 void Controller::InsertStyleModule(unsigned index, const char *iFileName)
 {
-       if (!BLI_testextensie(iFileName, ".py")) {
+       if (!BLI_path_extension_check(iFileName, ".py")) {
                cerr << "Error: Cannot load \"" << string(iFileName) << "\", unknown extension" << endl;
                return;
        }