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
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
141dd5233e
Merged changes in the trunk up to revision 50257.
...
Conflicts resolved:
source/blender/blenkernel/CMakeLists.txt
2012-08-29 00:53:29 +00:00
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
2ec75c3104
code cleanup: comments and some minor edits to interface code.
2012-08-25 20:49:51 +00:00
ed0489bb6e
style cleanup: also spelling
2012-08-24 23:22:34 +00:00
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
f4ab3b9d8b
sequencer zooms horizontal only from mouse wheel and plus buttons.
2012-08-23 14:49:20 +00:00
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
1939baa47d
style cleanup
2012-08-22 16:44:32 +00:00
c92ab5c3ef
code cleanup: use rect size macros
2012-08-21 20:34:05 +00:00
abd031bb4e
code cleanup: use rect size macros for the interface
2012-08-21 19:35:06 +00:00
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
3090ae35af
fix [ #32374 ] Curve compositor UI drawing glitch
...
copy the curve for the compositor.
2012-08-21 15:14:29 +00:00
29dd72ea84
code cleanup: some legacy compo nodes were not ifdef'd
2012-08-21 08:58:47 +00:00
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
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
ff876a473a
HDR color picker now works in the clip space.
2012-08-20 16:56:11 +00:00
26f073b327
macros for rectangle center and size
2012-08-20 15:29:02 +00:00
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
d36da8a8a1
style cleanup
2012-08-19 10:41:27 +00:00
ab662a1e02
fix for own commit r49991, this exposed bad logic in rect copy function.
2012-08-18 20:54:43 +00:00
a5b5f5d3fb
code cleanup: use BLI rect functions for interface button and block code.
2012-08-18 18:11:51 +00:00
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
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
22b30da565
Merged changes in the trunk up to revision 49986.
2012-08-18 15:20:35 +00:00
dac761057d
fix for crash showing tooltip for NODE_OT_add_search()
2012-08-17 11:31:54 +00:00
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
e2cffbe732
rendering now stops the composite job first, then renders.
2012-08-15 10:31:52 +00:00
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
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
7d3e854aeb
add hook now has option to add to active bone (mango request).
2012-08-13 08:54:33 +00:00
3c2b4107de
confusion minf/fmin, broke msvc
2012-08-12 19:41:47 +00:00
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
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
44e4c5f831
Merged changes in the trunk up to revision 49797.
2012-08-12 00:09:57 +00:00
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
c567cf3fab
code cleanup: WM naming conventions
2012-08-11 21:35:24 +00:00
5e0f254afa
utility functions for getting/setting rectangles for operators.
2012-08-08 20:38:55 +00:00
f0951f58ca
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
2012-08-08 18:37:06 +00:00
a35420eee5
Code cleanup - whitespace
2012-08-08 14:02:44 +00:00
db6c4ba11e
bring back the play option from 2.4x
2012-08-06 16:07:11 +00:00
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
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
4ea2fb8b0a
Merged changes in the trunk up to revision 49478.
...
Conflicts resolved:
source/blender/blenkernel/intern/library.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/interface/resources.c
source/blender/makesrna/intern/rna_scene.c
2012-08-02 00:10:05 +00:00
b876ca5611
fix: column flow layout wrongly calculated height of second and subsequent columns when used with more than 2 columns.
...
* discovered while playing with the column flow layout in asset branch.
2012-08-01 17:52:14 +00:00
a199ae5368
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
2012-07-31 23:06:12 +00:00
7217927414
add inline functions for max/min ints, good to use when the arguments are function calls (we had a few of these).
2012-07-29 18:14:20 +00:00
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
0cfd402a7f
scale down histogram button movement by 10, was very sensitive
2012-07-29 01:41:46 +00:00