mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
Cleanup: spelling in comments, remote debug print
This commit is contained in:
parent
665472a18b
commit
7daf900181
4 changed files with 4 additions and 5 deletions
|
|
@ -881,7 +881,6 @@ def _initialize_extension_repos_post(*_, is_first=False):
|
|||
(repo_id_prev not in repos_idmap_next)
|
||||
):
|
||||
submodules_del_disabled.append(module_id_prev)
|
||||
print(submodules_del_disabled)
|
||||
|
||||
# Detect rename of disabled modules.
|
||||
for repo_id_next, module_id_next in repos_idmap_next_disabled.items():
|
||||
|
|
|
|||
|
|
@ -425,8 +425,8 @@ def do_previews(do_objects, do_collections, do_scenes, do_data_intern):
|
|||
try:
|
||||
bpy.ops.wm.save_mainfile()
|
||||
except BaseException as ex:
|
||||
# Might fail in some odd cases, like e.g. in regression files we have glsl/ram_glsl.blend which
|
||||
# references an inexistent texture... Better not break in this case, just spit error to console.
|
||||
# Might fail in some odd cases, like e.g. in regression files we have `glsl/ram_glsl.blend` which
|
||||
# references an nonexistent texture. Better not break in this case, just spit error to console.
|
||||
print("ERROR:", ex)
|
||||
else:
|
||||
print("*NOT* Saving %s, because some error(s) happened while deleting temp render data..." % bpy.data.filepath)
|
||||
|
|
|
|||
|
|
@ -2355,7 +2355,7 @@ bool BKE_scene_validate_setscene(Main *bmain, Scene *sce)
|
|||
for (a = 0, sce_iter = sce; sce_iter->set; sce_iter = sce_iter->set, a++) {
|
||||
/* more iterations than scenes means we have a cycle */
|
||||
if (a > totscene) {
|
||||
/* the tested scene gets zero'ed, that's typically current scene */
|
||||
/* The tested scene gets zeroed, that's typically current scene. */
|
||||
sce->set = nullptr;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace blender::geometry {
|
|||
*
|
||||
* \param iterations: Number of times to repeat the smoothing.
|
||||
* \param smooth_ends: Smooth the first and last value.
|
||||
* \param keep_shape: Changes the gaussian kernal to avoid severe deformations.
|
||||
* \param keep_shape: Changes the gaussian kernel to avoid severe deformations.
|
||||
* \param is_cyclic: Propagate smoothing across the ends of the input as if they were connected.
|
||||
*/
|
||||
void gaussian_blur_1D(const GSpan src,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue