c0db6fe04d
style edits - < 120 line width
2012-01-19 16:04:44 +00:00
3311164b24
Math lib: matrix multiplication order fix for two functions that were
...
inconsistent with similar functions & math notation:
mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)
For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
96d73bfdcf
replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy functions for int & char.
2011-11-07 01:38:32 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
e58eb5db6f
use defines for keying set names to avoid confusing them with text and having some incorrect names (as fixed in last commit)
2011-10-23 05:08:02 +00:00
61389bba41
fix spelling mistakes in comments (and in some python error messages), nothing to effect translations.
2011-10-17 06:39:13 +00:00
b3d21088aa
workaround/fix for [ #28379 ] Shift+F problem when using Ortho Camera
...
temp switch to perspective mode since fly mode doesnt really make sense for otho view.
2011-09-26 08:33:51 +00:00
e3c9986b7c
fix [ #28459 ] Fly mode problem: "Precision enable" not working in 2.59
...
also added back freelook (from 2.4x) - so you can loop about without changing direction.
2011-09-25 04:47:46 +00:00
3a81f23e09
warning cleanup for -Wdouble-promotion
2011-08-19 16:21:29 +00:00
078dff64d2
no functional changes.
...
style edits, also renamed ndof_to_angle_axis --> ndof_to_axis_angle
2011-08-02 08:12:50 +00:00
d4a6884fcf
add back timer based redraw, not sure why this was removed r38908.
...
Zealous redraws now use commented define.
2011-08-02 07:49:34 +00:00
70b4758ff8
Made wmNDOFMotionData use a vector rather then xyz members, makes it nicer to use with math functions.
...
ndof_to_angle_axis and ndof_to_quat now use math functions.
2011-08-02 07:08:22 +00:00
679b528177
fix for immobile camera (NDOF_SHOULD_ROTATE etc.) -- should revisit later
2011-07-31 06:26:03 +00:00
4745e3da12
improved ndof fly: precision mode, camera position, camera animation
2011-07-31 03:06:00 +00:00
72f70874bb
experimental onscreen rotation guide
2011-07-26 02:35:46 +00:00
407a2a8439
tweaked ephemeral ndof data types
2011-07-21 21:40:04 +00:00
c89379e7e1
ndof fly: better sharing of control between 2D and 3D mouse, compile fix for MSVC, lock horizon implemented
2011-07-19 22:40:22 +00:00
7f74abeaca
translated ndof menu from C to Python, enabled helicopter fly mode
2011-07-19 04:12:49 +00:00
3ad978ea8e
switched off ndof fly logging (receiving end)
2011-07-18 22:37:48 +00:00
cc1ba4569c
more consistent and modal-friendly ndof events, fly mode v1
2011-07-14 21:20:45 +00:00
9b5800bcd7
fixed "rather then" -> "rather than" typos all over the place
2011-05-28 13:11:24 +00:00
b222863336
fix [ #27459 ] Flymode moves parent
...
for durian we had camera rigs which needed to have the parent transformed rather then the camera, for this reason I made fly mode fly the parent rather then the camera its self.
Make this a preference and use this for view camera/view locking too.
2011-05-23 02:53:30 +00:00
0d26333eb5
fix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4. added doxygen docs.
2011-05-23 02:23:03 +00:00
9f766c71b0
use event->mval rather then subtracting ar->winrct.x / y from event->x / y
2011-05-20 07:40:05 +00:00
5f5cdf9d00
for bug [ #27358 ] Transform bug when transform > 500
...
mouse coords would with cont. grab would wrap at short.
use mouse coords as int rather then short.
this problem still happens on linux because of XTranslateCoordinates
2011-05-12 16:47:36 +00:00
f3a9b7580e
spelling corrections.
2011-04-29 04:43:36 +00:00
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
ac1cb5ee05
- quiet new warnings with gcc 4.6
...
- use BLI math funcs for normal float/short conversion.
- correct some un-intentional float/double promotions.
2011-03-28 02:34:55 +00:00
4237c0393a
view3d / object drawing: floats were being implicitly promoted to doubles, adjust to use floats.
2011-03-27 15:57:27 +00:00
Nathan Letwory
95100afc12
doxygen: blender/editors tagged.
2011-02-27 20:29:51 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
b110c7c8f2
Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now it
...
only tags the ID and does the actual flush/update delayed, before the next
redraw. For objects the update was already delayed, just flushing wasn't
yet.
This should help performance in python and animation editors, by making
calls to RNA property update quicker. Still need to add calls in a few
places where this was previously avoided due to bad performance.
2010-12-05 18:59:23 +00:00
bc9f1642bd
fix for crash canceling fly mode.
2010-11-24 16:54:18 +00:00
c4967b5dde
bugfix [ #24616 ] Apply Visual Transform doesn't always apply location
...
- object updates were not being flushed, so children weren't updating.
- apply the matrix relative to the parent, added this as an option to object_apply_mat4() which allows assigning the worldspace matrix in python without worrying about the parent.
2010-11-08 22:32:28 +00:00
b1a6ffbc37
SVN maintenance.
2010-10-25 07:19:43 +00:00
904f82b49f
bugfix [ #24376 ] Fly mode disturbs the rotation or scale of the camera object
2010-10-25 07:12:29 +00:00
3320b6fdd6
missed adding the file when moving fly mode.
2010-10-25 07:09:38 +00:00