[Bf-blender-cvs] [4e35203e3cf] sybren-usd: USD: Made all fields in `USDExporterContext` const
Sybren A. Stüvel
noreply at git.blender.org
Tue Nov 12 18:11:54 CET 2019
Commit: 4e35203e3cf3c04ca6423b71bbe68b830d829fe7
Author: Sybren A. Stüvel
Date: Tue Nov 12 17:32:33 2019 +0100
Branches: sybren-usd
https://developer.blender.org/rB4e35203e3cf3c04ca6423b71bbe68b830d829fe7
USD: Made all fields in `USDExporterContext` const
No functional changes.
===================================================================
M source/blender/usd/intern/usd_exporter_context.h
===================================================================
diff --git a/source/blender/usd/intern/usd_exporter_context.h b/source/blender/usd/intern/usd_exporter_context.h
index 598103765af..8a8e1052788 100644
--- a/source/blender/usd/intern/usd_exporter_context.h
+++ b/source/blender/usd/intern/usd_exporter_context.h
@@ -11,10 +11,10 @@ struct Object;
class USDHierarchyIterator;
struct USDExporterContext {
- Depsgraph *depsgraph;
- pxr::UsdStageRefPtr stage;
- pxr::SdfPath usd_path;
- USDHierarchyIterator *hierarchy_iterator;
+ const Depsgraph *depsgraph;
+ const pxr::UsdStageRefPtr stage;
+ const pxr::SdfPath usd_path;
+ const USDHierarchyIterator *hierarchy_iterator;
const USDExportParams &export_params;
};
More information about the Bf-blender-cvs
mailing list