Campbell Barton
a4b71f4e01
fix for various redundant checks and possibly fix some crashes in rare situations.
2012-09-05 01:42:52 +00:00
Campbell Barton
306e2b4878
stule cleanup
2012-09-04 18:47:08 +00:00
Sv. Lockal
927b7ed303
Do not show %t to user on right click menu buttons which use "Name%t|...%x0|..." syntax
2012-09-04 17:09:40 +00:00
Sergey Sharybin
68563134d4
Mango request: display sliders for current point in curve mapping
...
--
svn merge -r49893:49894 ^/branches/soc-2011-tomato
2012-09-04 12:40:47 +00:00
Campbell Barton
a71b160184
fix for building on msvc2008 (also style cleanup)
2012-09-04 01:23:50 +00:00
Campbell Barton
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
Sergey Sharybin
e58548706f
Fix regression introduced in recent jobs system refactoring
...
Fluid simulation job progress wasn't displayed anymore.
2012-09-03 16:05:37 +00:00
Campbell Barton
95f7264014
code cleanup: split out defines in BKE_utildefines.h into BLO_blend_defs.h and ui defines in interface_intern.h
2012-09-03 10:12:25 +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
Sv. Lockal
ebbfc46bea
Use function pointers instead of hard-coded english button names in color picker block.
...
This solves the problem with es/ru translations of color picker block reported by Gabriel Gazzán in Bf-translations-dev.
2012-09-02 13:36:33 +00:00
Brecht Van Lommel
fd22a5603a
Fix #32418 : color copy/paste between gamma and linear color buttons gave wrong
...
results, now it does the conversion.
2012-08-30 17:55:21 +00:00
Sergey Sharybin
7b84a75a22
Fix zooming in/out preview in sequencer
...
It was a regression since disabling Y-axis zooming in sequencer.
Now check region type and allow all kind of zooming for preview
region.
2012-08-26 16:41:03 +00:00
Campbell Barton
2ec75c3104
code cleanup: comments and some minor edits to interface code.
2012-08-25 20:49:51 +00:00
Campbell Barton
ed0489bb6e
style cleanup: also spelling
2012-08-24 23:22:34 +00:00
Campbell Barton
56b28635e7
code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with our naming convention.
2012-08-23 18:25:45 +00:00
Campbell Barton
f4ab3b9d8b
sequencer zooms horizontal only from mouse wheel and plus buttons.
2012-08-23 14:49:20 +00:00
Mitchell Stokes
fd2c3d1e30
BGE: When creating a controller by linking a sensor and actuator, the created controller will always be an and controller instead of the last controller type added.
2012-08-23 09:24:59 +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
Campbell Barton
abd031bb4e
code cleanup: use rect size macros for the interface
2012-08-21 19:35:06 +00:00
Campbell Barton
0fd2448c8b
alt+wheel scrolling over the render slots works again (this didnt support scrolling when new interfaces would replace the old ones).
2012-08-21 15:45:17 +00:00
Campbell Barton
3090ae35af
fix [ #32374 ] Curve compositor UI drawing glitch
...
copy the curve for the compositor.
2012-08-21 15:14:29 +00:00
Campbell Barton
29dd72ea84
code cleanup: some legacy compo nodes were not ifdef'd
2012-08-21 08:58:47 +00:00
Campbell Barton
3204731209
code cleanup: don't use magic numbers for curve flag & use bool args for curvemapping_changed()
2012-08-21 08:47:36 +00:00
Campbell Barton
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
Campbell Barton
ff876a473a
HDR color picker now works in the clip space.
2012-08-20 16:56:11 +00:00
Campbell Barton
26f073b327
macros for rectangle center and size
2012-08-20 15:29:02 +00:00
Sergey Sharybin
adec7cdea2
Patch #32326 : NDOF support of rotation and panning the view at the same time
...
Additional changes:
- Option to the ndof menu letting you pick turntable/trackball independently
of the mouse viewport navigation style
- Option to change the rotation sensitivity separate from the panning
Holding shift + moving the ndof does just as before locking it to panning
Holding ctrl + moving will lock it to only rotation
Patch by Fredrik Hansson, thanks!
Reviewed by self and Mike Erwin.
2012-08-19 13:52:36 +00:00
Campbell Barton
d36da8a8a1
style cleanup
2012-08-19 10:41:27 +00:00
Campbell Barton
ab662a1e02
fix for own commit r49991, this exposed bad logic in rect copy function.
2012-08-18 20:54:43 +00:00
Campbell Barton
a5b5f5d3fb
code cleanup: use BLI rect functions for interface button and block code.
2012-08-18 18:11:51 +00:00
Campbell Barton
63f143a3cc
use rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rctf functions.
2012-08-18 16:53:46 +00:00
Campbell Barton
27b4b45543
utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in a linked list by a pointer.
2012-08-18 16:16:13 +00:00
Campbell Barton
dac761057d
fix for crash showing tooltip for NODE_OT_add_search()
2012-08-17 11:31:54 +00:00
Campbell Barton
81dd80f1d3
support fro HDR color picking (values over 1.0) when color picking in the image editor or node space.
2012-08-16 14:47:14 +00:00
Campbell Barton
e2cffbe732
rendering now stops the composite job first, then renders.
2012-08-15 10:31:52 +00:00
Campbell Barton
502dfcce5f
use job types when checking for jobs in areas of the code that made assumptions about job types (that could be wrong)
2012-08-15 10:23:06 +00:00
Campbell Barton
97859e8709
add wm job types they are not used yet, so this just defines them for new jobs add add argument to search by job type.
2012-08-15 09:42:06 +00:00
Campbell Barton
7d3e854aeb
add hook now has option to add to active bone (mango request).
2012-08-13 08:54:33 +00:00
Campbell Barton
3c2b4107de
confusion minf/fmin, broke msvc
2012-08-12 19:41:47 +00:00
Campbell Barton
c140ccb9fd
2d smoothview now scales back the time to move for smaller view zoom/panning.
...
also the compositor bounds (used for scroll bars), were only calculated when pressing the home key in 2.63, how this is updated on draw
2012-08-12 19:35:47 +00:00
Campbell Barton
9cce2d8645
smooth-view for 2d views, graph editor, sequencer, node view, works with border zoom, view selected, view all.
2012-08-12 01:07:31 +00:00
Campbell Barton
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
Campbell Barton
c567cf3fab
code cleanup: WM naming conventions
2012-08-11 21:35:24 +00:00
Campbell Barton
5e0f254afa
utility functions for getting/setting rectangles for operators.
2012-08-08 20:38:55 +00:00
Campbell Barton
f0951f58ca
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
2012-08-08 18:37:06 +00:00
Joshua Leung
a35420eee5
Code cleanup - whitespace
2012-08-08 14:02:44 +00:00
Campbell Barton
db6c4ba11e
bring back the play option from 2.4x
2012-08-06 16:07:11 +00:00
Campbell Barton
887d517e3b
use define for 0.375 = GLA_PIXEL_OFS, used all over the interface.
...
also use M_SQRT1_2 in math_rotation.c
2012-08-05 17:27:52 +00:00
Campbell Barton
6972e19fd5
code cleanup:
...
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)).
- reduce some double promotions.
2012-08-03 22:12:57 +00:00