Cleanup: spelling
This commit is contained in:
parent
3f43f57731
commit
7a602fb525
|
@ -15,7 +15,8 @@
|
|||
*
|
||||
* The Original Code is written by Rob Haarsma (phase)
|
||||
* All rights reserved.
|
||||
* This code parses the Freetype font outline data to chains of Blender's beziertriples.
|
||||
*
|
||||
* This code parses the Freetype font outline data to chains of Blender's bezier-triples.
|
||||
* Additional information can be found at the bottom of this file.
|
||||
*
|
||||
* Code that uses exotic character maps is present but commented out.
|
||||
|
|
|
@ -978,13 +978,13 @@ void DepsgraphRelationBuilder::build_object_parent(Object *object)
|
|||
break;
|
||||
}
|
||||
}
|
||||
/* Metaballs are the odd balls here (no pun intended): they will request
|
||||
/* Meta-balls are the odd balls here (no pun intended): they will request
|
||||
* instance-list (formerly known as dupli-list) during evaluation. This is
|
||||
* their way of interacting with all instanced surfaces, making a nice
|
||||
* effect when is used form particle system. */
|
||||
if (object->type == OB_MBALL && parent->transflag & OB_DUPLI) {
|
||||
ComponentKey parent_geometry_key(parent_id, NodeType::GEOMETRY);
|
||||
/* NOTE: Metaballs are evaluating geometry only after their transform,
|
||||
/* NOTE: Meta-balls are evaluating geometry only after their transform,
|
||||
* so we only hook up to transform channel here. */
|
||||
add_relation(parent_geometry_key, object_transform_key, "Parent");
|
||||
}
|
||||
|
|
|
@ -86,8 +86,8 @@ enum class EvaluationStage {
|
|||
|
||||
/* Workaround for areas which can not be evaluated in threads.
|
||||
*
|
||||
* For example, metaballs, which are iterating over all bases and are requesting dupli-lists
|
||||
* to see whether there are metaballs inside. */
|
||||
* For example, meta-balls, which are iterating over all bases and are requesting dupli-lists
|
||||
* to see whether there are meta-balls inside. */
|
||||
SINGLE_THREADED_WORKAROUND,
|
||||
};
|
||||
|
||||
|
|
|
@ -311,7 +311,7 @@ static void do_cloth_brush_build_constraints_task_cb_ex(
|
|||
else if (data->cloth_sim->deformation_pos) {
|
||||
/* Any other tool that target the cloth simulation handle the falloff in
|
||||
* their own code when modifying the deformation coordinates of the simulation, so
|
||||
* deformation constraints are created with a fixed strength for all vercies. */
|
||||
* deformation constraints are created with a fixed strength for all vertices. */
|
||||
cloth_brush_add_deformation_constraint(
|
||||
data->cloth_sim, vd.index, CLOTH_DEFORMATION_TARGET_STRENGTH);
|
||||
}
|
||||
|
@ -319,7 +319,7 @@ static void do_cloth_brush_build_constraints_task_cb_ex(
|
|||
if (pin_simulation_boundary) {
|
||||
const float sim_falloff = cloth_brush_simulation_falloff_get(
|
||||
brush, ss->cache->initial_radius, ss->cache->location, vd.co);
|
||||
/* Vertex is inside the area of the simulation without any falloff aplied. */
|
||||
/* Vertex is inside the area of the simulation without any falloff applied. */
|
||||
if (sim_falloff < 1.0f) {
|
||||
/* Create constraints with more strength the closer the vertex is to the simulation
|
||||
* boundary. */
|
||||
|
|
|
@ -54,7 +54,7 @@ typedef enum eGPUBlend {
|
|||
/** Replace logic op: SRC * (1 - DST)
|
||||
* NOTE: Does not modify alpha. */
|
||||
GPU_BLEND_INVERT,
|
||||
/** Order independant transparency.
|
||||
/** Order independent transparency.
|
||||
* NOTE: Cannot be used as is. Needs special setup (framebuffer, shader ...). */
|
||||
GPU_BLEND_OIT,
|
||||
/** Special blend to add color under and multiply dst color by src alpha. */
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
namespace blender {
|
||||
namespace gpu {
|
||||
|
||||
/* Ecapsulate all pipeline state that we need to track.
|
||||
/* Encapsulate all pipeline state that we need to track.
|
||||
* Try to keep small to reduce validation time. */
|
||||
union GPUState {
|
||||
struct {
|
||||
|
|
|
@ -244,7 +244,7 @@ struct wmGizmo {
|
|||
int drag_part;
|
||||
|
||||
/** Distance to bias this gizmo above others when picking
|
||||
* (in worldspace, scaled by the gizmo scale - when used). */
|
||||
* (in world-space, scaled by the gizmo scale - when used). */
|
||||
float select_bias;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue