diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-27 05:54:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-27 05:54:25 +0300 |
commit | 1c1659eb286b369ffe6ba99207c42611159f24bb (patch) | |
tree | 02eaa19cedf10a01978db892e89d585dcce1707e /source/blender/editors/transform/transform_conversions.c | |
parent | 641072a769cc7bff4d69945c71f536c5b0394bc9 (diff) |
- Right click menu can open links directly to API reference docs (rna and operators)
- Generated and uploaded api docs - http://www.blender.org/documentation/250PythonDoc
- Added Edit docs menu item & operators as discussed with Mindrones, Brecht, Stani & Letterip @ bconf, needs some web backend. python operator can aparently use xml/rpc to upload docstrings.
- Added operator invoke function - context.manager.invoke_props_popup(self.__operator__, event)
this calls a popup for invoke by default (which intern calls execute())
- Own recent commit to game framing applied to non-camera views too.
- v3d->persp is deprecated but still used in some places.
- Transforming strips could overlap 1 frame if moving them below frame 0
- Transforming overlapping strips could go into an eternal loop (though overlapping strips should not exist)
Diffstat (limited to 'source/blender/editors/transform/transform_conversions.c')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index cefb7741658..077e39d6a2b 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -2355,7 +2355,7 @@ void flushTransSeq(TransInfo *t) tdsq= (TransDataSeq *)td->extra; seq= tdsq->seq; - new_frame= (int)(td2d->loc[0] + 0.5f); + new_frame= (int)floor(td2d->loc[0] + 0.5f); switch (tdsq->sel_flag) { case SELECT: @@ -2363,7 +2363,7 @@ void flushTransSeq(TransInfo *t) seq->start= new_frame - tdsq->start_offset; if (seq->depth==0) { - seq->machine= (int)(td2d->loc[1] + 0.5f); + seq->machine= (int)floor(td2d->loc[1] + 0.5f); CLAMP(seq->machine, 1, MAXSEQ); } break; @@ -5207,7 +5207,7 @@ void createTransData(bContext *C, TransInfo *t) { View3D *v3d = t->view; RegionView3D *rv3d = CTX_wm_region_view3d(C); - if(rv3d && (t->flag & T_OBJECT) && v3d->camera == OBACT && rv3d->persp==V3D_CAMOB) + if(rv3d && (t->flag & T_OBJECT) && v3d->camera == OBACT && rv3d->persp==RV3D_CAMOB) { t->flag |= T_CAMERA; } |