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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-09-07 07:09:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-07 07:09:50 +0300
commitc350d1eb1387e763ca156f065305a0bce666ceb9 (patch)
treea611bf60a6b6e0922ab0b3ad9b2a36f33b78fe8a /source/blender/editors/curve/editfont.c
parentc695523687ef5bd43f50b6d057de785fad454be8 (diff)
Cleanup: remove redundant scene argument in BKE_object_add
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r--source/blender/editors/curve/editfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index 4147bb190e2..551916ec57d 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -650,7 +650,7 @@ static void txt_add_object(bContext *C, TextLine *firstline, int totline, const
int a;
const float rot[3] = {0.f, 0.f, 0.f};
- obedit = BKE_object_add(bmain, scene, view_layer, OB_FONT, NULL);
+ obedit = BKE_object_add(bmain, view_layer, OB_FONT, NULL);
base = view_layer->basact;
/* seems to assume view align ? TODO - look into this, could be an operator option */