Cleanup: fix various typos
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14443
This commit is contained in:
parent
0d43ff43a4
commit
5f1adfc508
@ -489,7 +489,7 @@ def is_path_builtin(path):
|
||||
:type path: str
|
||||
:rtype: bool
|
||||
"""
|
||||
# Note that this function is is not optimized for speed,
|
||||
# Note that this function isn't optimized for speed,
|
||||
# it's intended to be used to check if it's OK to remove presets.
|
||||
#
|
||||
# If this is used in a draw-loop for example, we could cache some of the values.
|
||||
|
@ -40,7 +40,7 @@
|
||||
* | | Each state is a chunk_list user,
|
||||
* | | avoids duplicating lists when there is no change between states.
|
||||
* | |
|
||||
* | +- chunk_refs (List of BChunkRef): Each chunk_ref links to a a BChunk.
|
||||
* | +- chunk_refs (List of BChunkRef): Each chunk_ref links to a BChunk.
|
||||
* | Each reference is a chunk user,
|
||||
* | avoids duplicating smaller chunks of memory found in multiple states.
|
||||
* |
|
||||
|
@ -32,7 +32,7 @@ class StrokeTesselator {
|
||||
/** Builds a line rep contained from a Stroke */
|
||||
LineRep *Tesselate(Stroke *iStroke);
|
||||
|
||||
/** Builds a set of lines rep contained under a a NodeShape, itself contained under a NodeGroup
|
||||
/** Builds a set of lines rep contained under a NodeShape, itself contained under a NodeGroup
|
||||
* from a set of strokes.
|
||||
*/
|
||||
template<class StrokeIterator> NodeGroup *Tesselate(StrokeIterator begin, StrokeIterator end);
|
||||
|
@ -42,11 +42,11 @@ class ViewMapTesselator {
|
||||
{
|
||||
}
|
||||
|
||||
/** Builds a set of lines rep contained under a a NodeShape, itself contained under a NodeGroup
|
||||
/** Builds a set of lines rep contained under a NodeShape, itself contained under a NodeGroup
|
||||
* from a ViewMap */
|
||||
NodeGroup *Tesselate(ViewMap *iViewMap);
|
||||
|
||||
/** Builds a set of lines rep contained under a a NodeShape, itself contained under a NodeGroup
|
||||
/** Builds a set of lines rep contained under a NodeShape, itself contained under a NodeGroup
|
||||
* from a set of view edges
|
||||
*/
|
||||
template<class ViewEdgesIterator>
|
||||
|
@ -245,7 +245,7 @@ static void read_curve_positions(const Curves &curves_id,
|
||||
r_coords->reserve(r_coords->size() + total_size * transforms.size());
|
||||
r_coords->as_mutable_span().take_back(total_size).copy_from(curves.evaluated_positions());
|
||||
for (const float3 &position : curves.evaluated_positions()) {
|
||||
r_coords->append(transform * postition);
|
||||
r_coords->append(transform * position);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1644,7 +1644,7 @@ static int arg_handle_scene_set(int argc, const char **argv, void *data)
|
||||
CTX_data_scene_set(C, scene);
|
||||
|
||||
/* Set the scene of the first window, see: T55991,
|
||||
* otherwise scrips that run later won't get this scene back from the context. */
|
||||
* otherwise scripts that run later won't get this scene back from the context. */
|
||||
wmWindow *win = CTX_wm_window(C);
|
||||
if (win == NULL) {
|
||||
win = CTX_wm_manager(C)->windows.first;
|
||||
|
Loading…
Reference in New Issue
Block a user