Commit: 28f12a5406ffcb0a880192a54c9f7e0fe66b0a6b
Author: makowalski
Date: Sun Jul 18 15:31:24 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rB28f12a5406ffcb0a880192a54c9f7e0fe66b0a6b
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.
===================================================================
M source/blender/io/usd/intern/usd_capi_import.cc
===================================================================
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));
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs