From 62a0984d7290cbd6fd3acfa79d53765f97f93b0a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 11 Mar 2022 14:24:22 +0100 Subject: Cleanup: fix source typos homogenous->homogeneous Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14306 --- intern/cycles/integrator/denoiser.cpp | 2 +- intern/cycles/scene/alembic_read.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'intern') diff --git a/intern/cycles/integrator/denoiser.cpp b/intern/cycles/integrator/denoiser.cpp index 0d3e49b7f21..62a6fd3361b 100644 --- a/intern/cycles/integrator/denoiser.cpp +++ b/intern/cycles/integrator/denoiser.cpp @@ -80,7 +80,7 @@ static bool is_single_supported_device(Device *device, DenoiserType type) if (!device->info.multi_devices.empty()) { /* Some configurations will use multi_devices, but keep the type of an individual device. - * This does simplify checks for homogenous setups, but here we really need a single device. */ + * This does simplify checks for homogeneous setups, but here we really need a single device. */ return false; } diff --git a/intern/cycles/scene/alembic_read.cpp b/intern/cycles/scene/alembic_read.cpp index be652e9bcd6..26a4153a825 100644 --- a/intern/cycles/scene/alembic_read.cpp +++ b/intern/cycles/scene/alembic_read.cpp @@ -543,7 +543,7 @@ static void read_subd_geometry(CachedData &cached_data, const SubDSchemaData &da add_positions(data.positions.getValue(iss), time, cached_data); - if (data.topology_variance != kHomogenousTopology || cached_data.shader.size() == 0) { + if (data.topology_variance != kHomogeneousTopology || cached_data.shader.size() == 0) { add_subd_polygons(cached_data, data, time); add_subd_edge_creases(cached_data, data, time); add_subd_vertex_creases(cached_data, data, time); @@ -582,7 +582,7 @@ static void read_curves_data(CachedData &cached_data, const CurvesSchemaData &da array curve_first_key; array curve_shader; - const bool is_homogenous = data.topology_variance == kHomogenousTopology; + const bool is_homogeneous = data.topology_variance == kHomogeneousTopology; curve_keys.reserve(position->size()); curve_radius.reserve(position->size()); @@ -605,7 +605,7 @@ static void read_curves_data(CachedData &cached_data, const CurvesSchemaData &da curve_radius.push_back_slow(radius * data.radius_scale); } - if (!is_homogenous || cached_data.curve_first_key.size() == 0) { + if (!is_homogeneous || cached_data.curve_first_key.size() == 0) { curve_first_key.push_back_reserved(offset); curve_shader.push_back_reserved(0); } @@ -616,7 +616,7 @@ static void read_curves_data(CachedData &cached_data, const CurvesSchemaData &da cached_data.curve_keys.add_data(curve_keys, time); cached_data.curve_radius.add_data(curve_radius, time); - if (!is_homogenous || cached_data.curve_first_key.size() == 0) { + if (!is_homogeneous || cached_data.curve_first_key.size() == 0) { cached_data.curve_first_key.add_data(curve_first_key, time); cached_data.curve_shader.add_data(curve_shader, time); } -- cgit v1.2.3