655f498ca7
Cleanup: headers (wm)
2015-07-14 22:29:31 +10:00
915235c87a
Cleanup: unused headers
2014-11-28 22:16:14 +01:00
00b29156e0
Defines: replace ELEM3-16 with ELEM(...), that can take varargs
2014-07-20 01:33:40 +10:00
15d77d201d
Code cleanup: use 'const' for arrays (windowmanager)
2014-04-27 00:25:15 +10:00
442f2df736
Code cleanup: avoid redundant lookups for subwindows
2014-04-02 17:33:20 +11:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
621bf47e91
Docs: doxygen file descriptions for BLF, GPU and WM
2014-01-19 23:15:25 +11:00
b8b412230b
Code Cleanup: use iroundf
...
also increase precision of rctf print functions
2014-01-15 13:40:40 +11:00
5afc2a9a44
Code cleanup: assign win size to const vars and some renaming
2013-12-11 13:07:00 +11:00
41587de016
patch [ #37217 ] Make WM_gesture_lines draw the lasso unfilled. (Adding reroute nodes, cutting node links)
...
by Henrik Aarnio (hjaarnio)
2013-10-29 00:05:03 +00:00
5dc9db3533
fix for lasso failing/glitches on overlapping lines, replace scanfill with 2d pixel filling for drawing and selection.
2013-10-04 15:02:05 +00:00
aaa8a13c49
code cleanup: use const events for modal and invoke operators.
2013-03-13 09:03:46 +00:00
14a0ff90bc
Fix a few DPI / retina draw issues:
...
* Color picker cursor was too small, and color cirle was not smooth enough.
* Border select gesture cross before first click did not reach to the border
of the window.
* Buttons were not drawing emboss properly (also for non-retina actually).
Note it doesn't draw entirely right for aligned buttons, but this was also
the case before it got broken.
2013-02-10 18:03:01 +00:00
f0c1bc830c
add option to BLI_scanfill_calc() - BLI_SCANFILL_CALC_HOLES, gives some speedup for BMesh ngons which never have holes and ensures predictable triangle count (totvert - 2), which is needed for pre-calculating array size.
2012-12-27 06:39:27 +00:00
2a5cabb039
code cleanup and minor changes
...
- use DummyRNA_NULL_items to replace empty enums.
- replace calloc with malloc in copy_dverts since its copied over after.
- add wmGesture->userdata, so operators that use gestures have somewhere to store their own data (not used yet).
2012-12-22 01:08:42 +00:00
f9e339ef00
fix/workaround [ #33281 ] script goes into not responding
...
scanfill remove-doubles pass assumes ordered edges (as with curves), otherwise it can hang.
workaround this problem by skipping removing-doubles for mesh ngons, since this isnt such a common case as it is with curves and we can just not support it.
2012-11-26 23:18:04 +00:00
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
26f073b327
macros for rectangle center and size
2012-08-20 15:29:02 +00:00
a5127dba57
vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)
...
use where possible.
2012-07-11 18:17:48 +00:00
9f22750422
style cleanup
2012-07-04 20:47:12 +00:00
b33f0ef0e3
style cleanup
2012-05-27 19:40:36 +00:00
ed679693c9
style cleanup: whitespace/indentation
2012-05-19 13:55:54 +00:00
af3e348430
code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.
2012-05-19 13:28:19 +00:00
c8ebfe1d12
code cleanup:
...
- use bmesh iterator macros in more places
- rename scanfill variables (were using same names as mesh faces/verts which was confusing)
2012-05-13 14:47:53 +00:00
4c5502bfd6
code cleanup: function naming for BLI functions.
2012-05-05 00:23:55 +00:00
195d6c1b1a
minor speedup for scanfill, dont calculate the normal if its already known - use for editmode ngon filling.
2012-04-16 18:24:49 +00:00
0635f8101c
make scanfill threadsafe (wasnt threadsafe before BMesh merge but before the merge it didn't need to be) - now rendering uses its better if its threadsafe.
2012-04-16 06:48:57 +00:00
79693e4543
code cleanup: avoid confusion with incorrectly named argument to BLI_edgefill(), was 'mat_nr', now 'do_quad_tri_speedup'
2012-04-16 05:03:04 +00:00
ae654301b0
style cleanup: wm, mosyly adding space around ops
2012-03-27 01:24:16 +00:00
5a90ea77bc
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:24:53 +00:00
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
e17bf02c2d
Code Cleanup:
...
* made bmesh_structure.h function names more consistant.
* remove unused code in bmesh_structure.c
* removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping).
* tagged some BMESH_TODO's
2012-02-27 13:47:53 +00:00
a368e6771a
- remove some unused editmesh functions.
...
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-19 22:17:30 +00:00
5148828356
svn merge ^/trunk/blender -r44235:44250
2012-02-19 17:59:30 +00:00
cc90116c5a
style cleanyp: split > 120 width lines.
2012-02-19 06:00:20 +00:00
b245dfbc06
svn merge ^/trunk/blender -r42466:42495
2011-12-07 18:29:21 +00:00
d0c327c81c
Fix #29432 : Marquee Select Bug
...
Moved tweak threshold value to user preferences
This threshold might be needed to be tweaked when working with tables, i.e.
to prevent tap+slight movement be treated as tweak event.
2011-12-07 09:55:37 +00:00
3b5bcab09c
svn merge ^/trunk/blender -r42139:42172
2011-11-26 16:29:14 +00:00
8ab167d33d
pass args as vectors to opengl functions where possible.
2011-11-26 05:10:53 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +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
ea4b3fee1f
svn merge ^/trunk/blender -r40389:r40390
2011-09-23 07:17:07 +00:00
84d06f252e
tag & comment unused vars with /* UNUSED */
2011-09-20 08:48:48 +00:00
489eaaa46d
=bmesh= build modifier works now, also made scanfill thread-safe
2011-04-16 23:58:49 +00:00
69bd72c3b6
quiet gcc float -> double promotion warnings.
2011-04-02 02:08:33 +00:00
Nathan Letwory
60b22c5d12
doxygen: blender/windowmanager tagged.
2011-02-25 14:04:21 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
63018144ba
remove redundant assignments & unused vars.
...
also minor functional changes
- OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it)
- removing BG image now returns cancelled if no image is removed.
2011-01-12 03:41:12 +00:00
89c9aaaa25
remove references to BKE_utildefines where its not needed.
...
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07 19:18:31 +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