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:
Diffstat (limited to 'source/blender/io/usd/intern/usd_reader_volume.cc')
-rw-r--r--source/blender/io/usd/intern/usd_reader_volume.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/usd/intern/usd_reader_volume.cc b/source/blender/io/usd/intern/usd_reader_volume.cc
index 13044de5002..fc25dda53b9 100644
--- a/source/blender/io/usd/intern/usd_reader_volume.cc
+++ b/source/blender/io/usd/intern/usd_reader_volume.cc
@@ -65,10 +65,10 @@ void USDVolumeReader::read_object_data(Main *bmain, const double motionSampleTim
filepathAttr.GetTimeSamples(&filePathTimes);
if (!filePathTimes.empty()) {
- int start = static_cast<int>(filePathTimes.front());
- int end = static_cast<int>(filePathTimes.back());
+ int start = int(filePathTimes.front());
+ int end = int(filePathTimes.back());
- volume->is_sequence = static_cast<char>(true);
+ volume->is_sequence = char(true);
volume->frame_start = start;
volume->frame_duration = (end - start) + 1;
}