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:
authorCampbell Barton <campbell@blender.org>2022-04-20 02:13:48 +0300
committerCampbell Barton <campbell@blender.org>2022-04-20 03:41:31 +0300
commit42717596d0c8638bd672966c0f1198db8344dcd5 (patch)
treeabd14857c09ba75f7b3c55c7483ec1a3dfb02876 /intern/cycles/scene
parentf8f8edbe1a624e3c06b5068435368d122f3b64e5 (diff)
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r--intern/cycles/scene/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/scene/object.cpp b/intern/cycles/scene/object.cpp
index c57d26464ed..676cc78a11f 100644
--- a/intern/cycles/scene/object.cpp
+++ b/intern/cycles/scene/object.cpp
@@ -496,7 +496,7 @@ void ObjectManager::device_update_object_transform(UpdateObjectTransformState *s
kobject.dupli_generated[2] = ob->dupli_generated[2];
kobject.numkeys = (geom->geometry_type == Geometry::HAIR) ?
static_cast<Hair *>(geom)->get_curve_keys().size() :
- (geom->geometry_type == Geometry::POINTCLOUD) ?
+ (geom->geometry_type == Geometry::POINTCLOUD) ?
static_cast<PointCloud *>(geom)->num_points() :
0;
kobject.dupli_uv[0] = ob->dupli_uv[0];