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:
authorSybren A. Stüvel <sybren@blender.org>2020-06-19 15:31:04 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-06-19 16:30:18 +0300
commit1a448c66edf26ceb4fc4f0daad7375f0ae5f84cf (patch)
tree8bc31f56bf512f56c99a32d7179e1aac0ac761f5 /source/blender/io/alembic/exporter/abc_writer_camera.cc
parent89b7f785e64275819bd7372f6b47f1cc9225078f (diff)
Cleanup: Alembic, move the C++ code to `blender::io::alembic` namespace
This commit only moves code into the `blender::io::alembic` namespace, it does not move `static` functions into an anonymous namespace. No functional changes.
Diffstat (limited to 'source/blender/io/alembic/exporter/abc_writer_camera.cc')
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_camera.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/io/alembic/exporter/abc_writer_camera.cc b/source/blender/io/alembic/exporter/abc_writer_camera.cc
index 07ae81e584f..ef6d1512a96 100644
--- a/source/blender/io/alembic/exporter/abc_writer_camera.cc
+++ b/source/blender/io/alembic/exporter/abc_writer_camera.cc
@@ -27,6 +27,10 @@
using Alembic::AbcGeom::OCamera;
using Alembic::AbcGeom::OFloatProperty;
+namespace blender {
+namespace io {
+namespace alembic {
+
AbcCameraWriter::AbcCameraWriter(Object *ob,
AbcTransformWriter *parent,
uint32_t time_sampling,
@@ -77,3 +81,7 @@ void AbcCameraWriter::do_write()
m_camera_sample.setLensSqueezeRatio(1.0);
m_camera_schema.set(m_camera_sample);
}
+
+} // namespace alembic
+} // namespace io
+} // namespace blender