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:
authormakowalski <makowalski@nvidia.com>2021-07-18 22:31:24 +0300
committermakowalski <makowalski@nvidia.com>2021-07-18 22:31:24 +0300
commit28f12a5406ffcb0a880192a54c9f7e0fe66b0a6b (patch)
tree26fa7ea8f85a12aef89ebe54dfa9097320f59548
parent930055721ba80a7c13b740c71ec67cecbfa5db2d (diff)
USD_read_mesh() const parameter.
Per Sybren in his review of the USD importer patch: read_flag isn't being modified, so it should be const.
-rw-r--r--source/blender/io/usd/intern/usd_capi_import.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/usd_capi_import.cc b/source/blender/io/usd/intern/usd_capi_import.cc
index 1430c7a0671..3e37dd35aae 100644
--- a/source/blender/io/usd/intern/usd_capi_import.cc
+++ b/source/blender/io/usd/intern/usd_capi_import.cc
@@ -445,7 +445,7 @@ Mesh *USD_read_mesh(CacheReader *reader,
Mesh *existing_mesh,
const float time,
const char **err_str,
- int read_flag)
+ const int read_flag)
{
USDGeomReader *usd_reader = dynamic_cast<USDGeomReader *>(get_usd_reader(reader, ob, err_str));