Cleanup: spelling, format
This commit is contained in:
parent
f197b1a1f1
commit
cfe5bf4b22
|
@ -297,7 +297,7 @@ struct LoopsForInterpolation {
|
|||
* Is allocated for non-regular faces (triangles and n-gons). */
|
||||
CustomData loop_data_storage;
|
||||
bool loop_data_storage_allocated;
|
||||
/* Infices within loop_data to interpolate for. The indices are aligned with
|
||||
/* Indices within loop_data to interpolate for. The indices are aligned with
|
||||
* uv coordinates in a similar way as indices in loop_data_storage. */
|
||||
int loop_indices[4];
|
||||
};
|
||||
|
@ -570,7 +570,7 @@ static void evaluate_vertex_and_apply_displacement_copy(const SubdivMeshContext
|
|||
add_v3_v3(subdiv_vert->co, D);
|
||||
/* Evaluate undeformed texture coordinate. */
|
||||
subdiv_vertex_orco_evaluate(ctx, ptex_face_index, u, v, subdiv_vertex_index);
|
||||
/* Remove facedot flag. This can happen if there is more than one subsurf modifier. */
|
||||
/* Remove face-dot flag. This can happen if there is more than one subsurf modifier. */
|
||||
BLI_BITMAP_DISABLE(ctx->subdiv_mesh->runtime.subsurf_face_dot_tags, subdiv_vertex_index);
|
||||
}
|
||||
|
||||
|
|
|
@ -337,7 +337,7 @@ void LightModule::end_sync()
|
|||
light_map_.remove(key);
|
||||
}
|
||||
|
||||
/* Update sampling on deletion or un-hidding (use_scene_lights). */
|
||||
/* Update sampling on deletion or un-hiding (use_scene_lights). */
|
||||
if (assign_if_different(light_map_size_, light_map_.size())) {
|
||||
inst_.sampling.reset();
|
||||
}
|
||||
|
|
|
@ -3425,7 +3425,8 @@ static bool do_mesh_box_select(ViewContext *vc,
|
|||
}
|
||||
if (ts->selectmode & SCE_SELECT_EDGE) {
|
||||
/* Does both use_zbuf and non-use_zbuf versions (need screen cos for both) */
|
||||
struct BoxSelectUserData_ForMeshEdge cb_data {};
|
||||
struct BoxSelectUserData_ForMeshEdge cb_data {
|
||||
};
|
||||
cb_data.data = &data;
|
||||
cb_data.esel = use_zbuf ? esel : nullptr;
|
||||
cb_data.backbuf_offset = use_zbuf ? DRW_select_buffer_context_offset_for_object_elem(
|
||||
|
|
Loading…
Reference in New Issue