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/nodes/geometry/nodes/node_geo_scale_elements.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_scale_elements.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_scale_elements.cc b/source/blender/nodes/geometry/nodes/node_geo_scale_elements.cc
index fc467a9424d..8fd05e70ed3 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_scale_elements.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_scale_elements.cc
@@ -158,9 +158,9 @@ static void scale_vertex_islands_uniformly(Mesh &mesh,
const UniformScaleParams &params,
const GetVertexIndicesFn get_vertex_indices)
{
- MutableSpan<MVert> verts = mesh.vertices_for_write();
+ MutableSpan<MVert> verts = mesh.verts_for_write();
const Span<MEdge> edges = mesh.edges();
- const Span<MPoly> polys = mesh.polygons();
+ const Span<MPoly> polys = mesh.polys();
const Span<MLoop> loops = mesh.loops();
threading::parallel_for(islands.index_range(), 256, [&](const IndexRange range) {
@@ -199,9 +199,9 @@ static void scale_vertex_islands_on_axis(Mesh &mesh,
const AxisScaleParams &params,
const GetVertexIndicesFn get_vertex_indices)
{
- MutableSpan<MVert> verts = mesh.vertices_for_write();
+ MutableSpan<MVert> verts = mesh.verts_for_write();
const Span<MEdge> edges = mesh.edges();
- const Span<MPoly> polys = mesh.polygons();
+ const Span<MPoly> polys = mesh.polys();
const Span<MLoop> loops = mesh.loops();
threading::parallel_for(islands.index_range(), 256, [&](const IndexRange range) {
@@ -245,7 +245,7 @@ static void scale_vertex_islands_on_axis(Mesh &mesh,
static Vector<ElementIsland> prepare_face_islands(const Mesh &mesh, const IndexMask face_selection)
{
- const Span<MPoly> polys = mesh.polygons();
+ const Span<MPoly> polys = mesh.polys();
const Span<MLoop> loops = mesh.loops();
/* Use the disjoint set data structure to determine which vertices have to be scaled together. */