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>2012-03-03 15:45:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-03 15:45:08 +0400
commit9d49fa0e6373d78c794e8472ed3f527392dfabcd (patch)
treefdbbdad43aa2c0ed8983721351b26f94e06e7c78 /source/blender/editors/interface/view2d_ops.c
parent1f928833f3677fa47a10099205c9f7ffa9adfadb (diff)
style cleanup - spelling corrections & update some incorrect comments.
Diffstat (limited to 'source/blender/editors/interface/view2d_ops.c')
-rw-r--r--source/blender/editors/interface/view2d_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/view2d_ops.c b/source/blender/editors/interface/view2d_ops.c
index 6632cfc62ac..d8f187d181a 100644
--- a/source/blender/editors/interface/view2d_ops.c
+++ b/source/blender/editors/interface/view2d_ops.c
@@ -801,7 +801,7 @@ static void view_zoomdrag_apply(bContext *C, wmOperator *op)
dx= RNA_float_get(op->ptr, "deltax");
dy= RNA_float_get(op->ptr, "deltay");
- /* continous zoom shouldn't move that fast... */
+ /* continuous zoom shouldn't move that fast... */
if (U.viewzoom == USER_ZOOM_CONT) { // XXX store this setting as RNA prop?
double time= PIL_check_seconds_timer();
float time_step= (float)(time - vzd->timer_lastdraw);
@@ -1004,7 +1004,7 @@ static int view_zoomdrag_modal(bContext *C, wmOperator *op, wmEvent *event)
fac= 0.01f * (event->y - vzd->lasty);
dy= fac * (v2d->cur.ymax - v2d->cur.ymin);
#if 0
- /* continous zoom shouldn't move that fast... */
+ /* continuous zoom shouldn't move that fast... */
if (U.viewzoom == USER_ZOOM_CONT) { // XXX store this setting as RNA prop?
double time= PIL_check_seconds_timer();
float time_step= (float)(time - vzd->timer_lastdraw);