diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-03-11 16:24:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-11 20:27:58 +0300 |
commit | 62a0984d7290cbd6fd3acfa79d53765f97f93b0a (patch) | |
tree | 8a073dcf4a265288dff0b9b95d321fbb6c599929 /intern/cycles | |
parent | e1a1dc868b30be80e59b747557830d507600bd1d (diff) |
Cleanup: fix source typos homogenous->homogeneous
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D14306
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/integrator/denoiser.cpp | 2 | ||||
-rw-r--r-- | intern/cycles/scene/alembic_read.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
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<int> curve_first_key; array<int> 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); } |