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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2021-05-03 05:41:13 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2021-05-03 05:41:13 +0300
commite8d7cee2cba1698cddfe7aa31654c0d34c600d19 (patch)
tree5301116a289bf1acac665d84620fdbe81a9c5d76 /source/blender/io/alembic
parentcfad1bc6e745def8d1c8594bcb6fa0a4c7259691 (diff)
Cleanup: format
Diffstat (limited to 'source/blender/io/alembic')
-rw-r--r--source/blender/io/alembic/intern/abc_reader_archive.cc8
-rw-r--r--source/blender/io/alembic/intern/abc_reader_archive.h4
2 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/io/alembic/intern/abc_reader_archive.cc b/source/blender/io/alembic/intern/abc_reader_archive.cc
index c232665d5b7..8c22743c1af 100644
--- a/source/blender/io/alembic/intern/abc_reader_archive.cc
+++ b/source/blender/io/alembic/intern/abc_reader_archive.cc
@@ -34,13 +34,13 @@
#include <fstream>
+using Alembic::Abc::chrono_t;
using Alembic::Abc::ErrorHandler;
using Alembic::Abc::Exception;
using Alembic::Abc::IArchive;
using Alembic::Abc::kWrapExisting;
using Alembic::Abc::TimeSamplingPtr;
using Alembic::Abc::TimeSamplingType;
-using Alembic::Abc::chrono_t;
namespace blender::io::alembic {
@@ -113,7 +113,7 @@ TimeInfo ArchiveReader::getTimeInfo()
{
const uint32_t num_time_sampling_ptrs = m_archive.getNumTimeSamplings();
- chrono_t min_time = std::numeric_limits<chrono_t>::max();
+ chrono_t min_time = std::numeric_limits<chrono_t>::max();
chrono_t max_time = -std::numeric_limits<chrono_t>::max();
for (uint32_t i = 0; i < num_time_sampling_ptrs; ++i) {
@@ -131,7 +131,9 @@ TimeInfo ArchiveReader::getTimeInfo()
const TimeSamplingType &time_sampling_type = time_sampling_ptr->getTimeSamplingType();
/* Avoid the default time sampling, it should be at index 0, but we never know. */
- if (time_sampling_ptr->getNumStoredTimes() == 1 && time_sampling_ptr->getStoredTimes()[0] == 0.0 && time_sampling_type.getTimePerCycle() == 1.0) {
+ if (time_sampling_ptr->getNumStoredTimes() == 1 &&
+ time_sampling_ptr->getStoredTimes()[0] == 0.0 &&
+ time_sampling_type.getTimePerCycle() == 1.0) {
continue;
}
diff --git a/source/blender/io/alembic/intern/abc_reader_archive.h b/source/blender/io/alembic/intern/abc_reader_archive.h
index 56177187775..ed7f06d913f 100644
--- a/source/blender/io/alembic/intern/abc_reader_archive.h
+++ b/source/blender/io/alembic/intern/abc_reader_archive.h
@@ -32,8 +32,8 @@ struct Main;
namespace blender::io::alembic {
struct TimeInfo {
- Alembic::Abc::chrono_t min_time;
- Alembic::Abc::chrono_t max_time;
+ Alembic::Abc::chrono_t min_time;
+ Alembic::Abc::chrono_t max_time;
};
/* Wrappers around input and output archives. The goal is to be able to use