Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-24 08:33:32 +0300
committerCampbell Barton <campbell@blender.org>2022-03-24 08:54:01 +0300
commit4682a0882f02c50b20aa3c4bf9abe9f7ec2e834b (patch)
tree36dc6fb09eaa1d539e516875ed957aba5334666e /source/blender/io/gpencil/intern/gpencil_io_base.cc
parent5058c4b1446f58bb9a5ddcb65f7353d9df3a594a (diff)
Cleanup: use "filepath" instead of "filename" for full paths
Reserve "filename" when only the name component is used.
Diffstat (limited to 'source/blender/io/gpencil/intern/gpencil_io_base.cc')
-rw-r--r--source/blender/io/gpencil/intern/gpencil_io_base.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/gpencil/intern/gpencil_io_base.cc b/source/blender/io/gpencil/intern/gpencil_io_base.cc
index 9379e72bdd9..05f1158c57d 100644
--- a/source/blender/io/gpencil/intern/gpencil_io_base.cc
+++ b/source/blender/io/gpencil/intern/gpencil_io_base.cc
@@ -174,10 +174,10 @@ void GpencilIO::create_object_list()
});
}
-void GpencilIO::filename_set(const char *filename)
+void GpencilIO::filepath_set(const char *filepath)
{
- BLI_strncpy(filename_, filename, FILE_MAX);
- BLI_path_abs(filename_, BKE_main_blendfile_path(bmain_));
+ BLI_strncpy(filepath_, filepath, FILE_MAX);
+ BLI_path_abs(filepath_, BKE_main_blendfile_path(bmain_));
}
bool GpencilIO::gpencil_3D_point_to_screen_space(const float3 co, float2 &r_co)