diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-20 02:13:48 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-20 03:41:31 +0300 |
commit | 42717596d0c8638bd672966c0f1198db8344dcd5 (patch) | |
tree | abd14857c09ba75f7b3c55c7483ec1a3dfb02876 /intern/cycles/scene | |
parent | f8f8edbe1a624e3c06b5068435368d122f3b64e5 (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r-- | intern/cycles/scene/object.cpp | 2 |
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]; |