Campbell Barton
0ecbc047e8
code cleanup
2012-09-06 23:41:03 +00:00
Campbell Barton
56534ecdcb
style cleanup: also add debugging print function for derived mesh DM_debug_print_cdlayers()
2012-09-03 02:41:12 +00:00
Brecht Van Lommel
0b4dfa1fcb
Fix #32450 : edge slide with multiple loops selected could move some loops
...
in the wrong direction.
2012-08-31 12:08:04 +00:00
Brecht Van Lommel
f9bccc069c
Fix #32405 : snapping in UV editor does not work if snapping in 3D view is set
...
to "snap to face" with "project individual ..." enabled.
2012-08-30 17:41:59 +00:00
Joshua Leung
09af2fecfb
Silencing compiler warning (use of undefined value)
2012-08-30 14:09:50 +00:00
Joshua Leung
0db80bdb88
Style cleanup - adding some braces around some multi-line statements (used after
...
if/else if/for)
2012-08-30 13:18:33 +00:00
Campbell Barton
52310bd4a7
code cleanup: remove dead assignments, gave mask vars clearer names & moved some mask evaluation funcs into mask_evaluate.c
2012-08-26 18:09:01 +00:00
Sergey Sharybin
2536362f79
Sequencer: reshuffle overlapping strips on cancel trasnform
...
It was possible to create overlapped strips by duplicating and
cancelling transform, now it sohuld be handled properly.
2012-08-24 16:09:48 +00:00
Campbell Barton
93d89ec768
correct assert for customdata overlap, also quiet uninitialized warning in transform.
2012-08-24 08:17:53 +00:00
Campbell Barton
1939baa47d
style cleanup
2012-08-22 16:44:32 +00:00
Campbell Barton
c92ab5c3ef
code cleanup: use rect size macros
2012-08-21 20:34:05 +00:00
Sergey Sharybin
08417318cd
Sequencer: invalidate current frame cache on sequence transform
2012-08-21 10:42:21 +00:00
Campbell Barton
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
Campbell Barton
26f073b327
macros for rectangle center and size
2012-08-20 15:29:02 +00:00
Campbell Barton
cf3d58512b
- fix for error in ndof patch.
...
- ColorBalanceModifierData wasn't aligned on 32bit systems.
- BM_vert_find_first_loop() was missing NULL check.
2012-08-19 15:56:49 +00:00
Campbell Barton
4120c18c47
re-enable metaball orientation for manipulator and view axis setting (was disabled since 2.4x)
2012-08-18 21:12:08 +00:00
Campbell Barton
5e0f254afa
utility functions for getting/setting rectangles for operators.
2012-08-08 20:38:55 +00:00
Campbell Barton
0b5a995cfd
code cleanup: rename G.rt to G.debug_value
2012-08-08 18:21:54 +00:00
Sergey Sharybin
1bf893e9c8
Code cleanup: BKE_ prefix for public sequencer functions
2012-08-08 11:15:40 +00:00
Campbell Barton
8ae89f4942
speedup to inpaint node in my tests was about ~30% for an optimized build.
...
also replace MIN/MAX2 with inline functions in transform.
2012-08-07 09:20:30 +00:00
Daniel Genrich
731c6ebec4
Patch [ #32246 ] (Bugfix): UV editor -> "Proportional edit" together with "constrain to bounds" does not work.
...
Patch reviewed by Campbell Barton. Thanks!
2012-08-06 13:40:29 +00:00
Campbell Barton
3b743582ec
node transform for frames was broken since the frames locx, locy are used as offsets, now node transform uses node ccenters (works nicer for regular nodes too).
2012-08-06 09:08:24 +00:00
Campbell Barton
7d2190b79b
fix for transforming parented nodes, the node would check its parent was not transformed, but in fact its parents parent could still be getting transformed still, also, the order of initializing transform data made this check unreliable.
...
fix for mingw broke from one of my own commits, changing header order fixes.
2012-08-05 21:06:56 +00:00
Campbell Barton
e592f757e8
fix for crash when moving frames about in the node space, was possible to move a node into its own child frame (causing recursive parent loop).
...
also some minor code cleanup.
2012-08-05 20:40:26 +00:00
Campbell Barton
685592f9d9
fix for transforming parented nodes (parent relative offset wasn't taken into account)
2012-08-05 20:16:14 +00:00
Campbell Barton
28ab27a49a
allow editing masks in an image space when there is no image.
...
also simplify image listener.
2012-08-03 22:33:45 +00:00
Campbell Barton
84df85164d
fullscreen mask editing now works in the image space over a viewer node.
2012-08-03 20:56:04 +00:00
Campbell Barton
1d5b2ea253
mask transforming when a mesh object was in editmode (but had no UV's), failed
2012-08-03 20:12:49 +00:00
Campbell Barton
179d00fb9c
make node select_all consistent with other select operators, also add Ctrl+I, select inverse to node space.
2012-08-01 13:28:19 +00:00
Campbell Barton
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
Campbell Barton
61469d2e3e
code cleanup: remove unneeded 'struct' qualifiers
2012-07-26 22:47:05 +00:00
Campbell Barton
ff078d309e
change clip utility function arguments to take space data and region rather then the context.
...
this allows a fix to be applied that corrects the helper line in the image view when transforming a mask.
2012-07-26 22:41:40 +00:00
Campbell Barton
ee572a9642
code cleanup: minor edits for mask/transform
2012-07-26 21:22:42 +00:00
Campbell Barton
4c2de5e0c7
fix some types and incorrect info
2012-07-26 17:41:09 +00:00
Campbell Barton
f39a21c36f
add ED_space_image_get_size_fl, ED_space_clip_get_size_fl
2012-07-26 11:47:47 +00:00
Campbell Barton
ffe92d0e43
mask/image: rotate about 2d cursor now works.
2012-07-26 10:52:59 +00:00
Sergey Sharybin
6b7d013d8d
Fix #32123 : Blender crashes when zoomed in and rotating around 3d cursor
...
Fix deadlock in drawArc caused by precision error. Helper widget could
look wrong, that's because of not enough precision of floats used by
Blender.
This is known issue of Blender and wouldn't consider a bug.
2012-07-26 09:29:37 +00:00
Campbell Barton
927af4ccc9
mask transform now works in the image space
2012-07-25 19:36:59 +00:00
Campbell Barton
7fba5779ed
match function names for clip/image spaces
2012-07-25 16:30:53 +00:00
Campbell Barton
f83ea3fa85
fix some crashes with mask/image transfor, a few more areas working now.
2012-07-25 16:03:08 +00:00
Campbell Barton
62a73381a7
use fabsf when using floats.
2012-07-21 15:27:40 +00:00
Campbell Barton
c8db1e832d
minor edits for bmesh api
2012-07-20 09:49:54 +00:00
Campbell Barton
250cdd5e52
code cleanup: remove commented includes - mostly from 2.4x
2012-07-18 23:07:07 +00:00
Campbell Barton
db14b97be6
mask transform aspect correction wasn't working properly, also fix for own recent commit which made cyclic report not show
2012-07-18 20:32:31 +00:00
Bastien Montagne
45738ef8dc
Add Skin modifier's radius values to Transform panel (in 3D views).
2012-07-18 14:30:31 +00:00
Bastien Montagne
e1449e3626
Fix [ #32068 ] Edge slide not working in certain circumstance from Front / Side views
...
Only visible edges are used to create the "sliding vector". The test used to detect whether edges were visible or not was working for solid shading, but useless in wire draw mode (as all edges are visible in this mode!)...
2012-07-18 12:23:18 +00:00
Bastien Montagne
01c3db149c
Fix [ #32086 ] Missing bevel "hold shift" for better accuracy.
...
This commit adds "shift" and numtype to both Bevel and Inset mesh operators.
It also gets rid of the magicnumber used in NumInput to str operation (currently, 20 chars per element, now defined as NUM_STR_REP_LEN in ED_numinput.h).
2012-07-14 14:03:36 +00:00
Sergey Sharybin
126024e537
Fix #31584 : Fractional step in value input for Skin Modifier (Event/input problem)
...
Issue was caused by the code which checked whether snapping should be enabled
on transform init taking into account keymap and special keys state. It was
used for Ctrl-Click on manipulator only.
Check for Ctrl state gave wring result with skin modifier. It was solved
by additional check for which mode transformation is initializing for --
currently manipulator is available for translation/roation/resize only
which doesn't give any keymap issues.
2012-07-12 14:41:52 +00:00
Lukas Toenne
21f81ee279
Fix for center calculation in node transforms. This now uses the actual barycenter of node rect centers.
2012-07-10 13:50:51 +00:00
Campbell Barton
df107939c9
rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing an allocation.
2012-07-09 22:16:50 +00:00