Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-10-10 13:38:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-10 14:04:51 +0300
commit3fe98a473ccb610c3832783cd8be8498d7e557e8 (patch)
treeda1a8291c6a649715944e7628d9bcef1fcd473b2 /source
parent2abfcebb0eb7989e3d1e7d03f37ecf5c088210af (diff)
Cleanup: remove unnecessary comments
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/math_rotation.c1
-rw-r--r--source/blender/blenloader/intern/readfile.c3
-rw-r--r--source/blender/makesdna/DNA_brush_types.h4
-rw-r--r--source/blender/modifiers/intern/MOD_wave.c2
4 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c
index c7cd1901164..c8e84cee0a0 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -2344,7 +2344,6 @@ BLI_INLINE int _axis_signed(const int axis)
bool mat3_from_axis_conversion(
int src_forward, int src_up, int dst_forward, int dst_up, float r_mat[3][3])
{
- // from functools import reduce
int value;
if (src_forward == dst_forward && src_up == dst_up) {
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index ccf4e08b5b7..5623f8e5eea 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5221,9 +5221,6 @@ static void direct_link_area(BlendDataReader *reader, ScrArea *area)
BLO_read_list(reader, &sconsole->scrollback);
BLO_read_list(reader, &sconsole->history);
- // for (cl= sconsole->scrollback.first; cl; cl= cl->next)
- // cl->line= newdataadr(fd, cl->line);
-
/* comma expressions, (e.g. expr1, expr2, expr3) evaluate each expression,
* from left to right. the right-most expression sets the result of the comma
* expression as a whole*/
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 07186425c3f..3acdbbb79fa 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -27,10 +27,6 @@
#include "DNA_curve_types.h"
#include "DNA_texture_types.h" /* for MTex */
-//#ifndef MAX_MTEX // XXX Not used?
-//#define MAX_MTEX 18
-//#endif
-
struct CurveMapping;
struct Image;
struct MTex;
diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c
index 6a963b4c043..4c8b511f19a 100644
--- a/source/blender/modifiers/intern/MOD_wave.c
+++ b/source/blender/modifiers/intern/MOD_wave.c
@@ -62,7 +62,7 @@
static void initData(ModifierData *md)
{
- WaveModifierData *wmd = (WaveModifierData *)md; // whadya know, moved here from Iraq
+ WaveModifierData *wmd = (WaveModifierData *)md;
BLI_assert(MEMCMP_STRUCT_AFTER_IS_ZERO(wmd, modifier));