Campbell Barton
b96172cb05
UI: Add back ability to select a custom interface font
2014-06-14 02:32:38 +10:00
Campbell Barton
f663c4f857
Code cleanup: UI, unnecessary float/int conversion
2014-06-14 00:47:11 +10:00
Campbell Barton
f3e4f42665
Code cleanup: remove hack for older GCC (4.2x and newer work without)
2014-06-14 00:47:11 +10:00
Campbell Barton
c3c04fe582
Code cleanup: remove redundant NULL check
2014-06-14 00:47:11 +10:00
Campbell Barton
5b367c9aaf
Fix T40534: Multi-button editing, hard to distinguish sliders
2014-06-09 21:06:44 +10:00
Campbell Barton
c04c6a3b83
Fix T40538: Multi-button canceling edit-text could leave edited value
2014-06-09 15:35:34 +10:00
Campbell Barton
5ee55caba5
Fix for dupli's ignoring color in set-scenes
...
also skip setting wire color drawing depth
2014-06-04 14:24:05 +10:00
Campbell Barton
bf640a6a7f
Code cleanup: use typedefs for ui handler functions
2014-06-03 09:30:08 +10:00
Campbell Barton
aec8f4f777
Fix uninitialized var in recent change to cursor drawing
2014-05-31 17:30:04 +10:00
Campbell Barton
d914d101ec
UI: fix for drawing textselect outside of button
...
also draw cursor even when there is a selection.
2014-05-30 10:21:45 +10:00
Bastien Montagne
d3a94941ef
Fix T40325: Part II
...
Use same cursors for GRIP buttons as for window resize e.g.
2014-05-23 13:06:36 +02:00
Bastien Montagne
01f5845778
Fix T40325: UILists do not save their height anymore
2014-05-23 08:55:31 +02:00
Campbell Barton
d203edfc93
Fix T40291: Crash when adding # driver to some fields
2014-05-21 16:33:48 +10:00
Lukas Tönne
2bbb442fc9
Fix T40236: Undo not pushed in old-school node curve tool button functions.
2014-05-17 16:48:06 +02:00
Campbell Barton
c62cb4416d
Disable auto-perspective by default, see T40153
2014-05-15 14:25:04 +10:00
Campbell Barton
9892f038ef
Fix T40154: UI Multi-drag sets value beyond max
2014-05-15 13:22:13 +10:00
Campbell Barton
30361a7341
Fix for curve widget hue gradient drawing incorrectly when zooming
2014-05-14 09:34:47 +10:00
Campbell Barton
164841e30e
Code cleanup: style
2014-05-09 18:29:42 +10:00
Dalai Felinto
20c90eae14
Bake API: renaming WM_JOB_RENDER_BAKE to WM_JOB_OBJECT_BAKE and use it consistently
...
Note: that doesnt change much. It definitively doesnt change the random crash OSX is experiencing sometimes.
2014-05-08 22:56:50 -03:00
Campbell Barton
105aa67cda
Fix typo
2014-05-08 19:54:04 +10:00
Joshua Leung
49cde5d8c1
Drivers: When editing expressions from UI buttons, "invalid" flags now get cleared from the drivers
...
With this change, there should hopefully be less need to hit "Update Dependencies"
on drivers so often.
2014-05-08 17:57:11 +12:00
Campbell Barton
182179a44b
Cleanup: redundant NULL checks
2014-05-07 04:35:55 +10:00
Campbell Barton
7fddd7f013
Fix for own recent change to menu shortcut behavior
...
Missed setting the flag for operator-menus.
Now call `ui_but_add_shortcut` to match the rest of the api.
2014-05-06 18:14:00 +10:00
Campbell Barton
a1ba57a008
Fix T40010: Single user looses parent relationship (temporarily)
2014-05-04 08:36:15 +10:00
Tamito Kajiyama
b7f085d9c1
Patch D246: Texture Marks for freestyle strokes, written and contributed by Paolo Acampora.
...
Reviewers: brecht, kjym3, #freestyle
Reviewed By: brecht, kjym3
Differential Revision: https://developer.blender.org/D246
2014-05-03 18:54:59 +09:00
Campbell Barton
0111f3505f
UI: more changes for large textfields
...
- no longer set 'but->drawstr' when editing buttons.
- clip text and set cursor based on the 'editstr'.
2014-05-03 09:18:00 +10:00
Campbell Barton
43d5e54a79
Fix for paste clamping the string length to UI_MAX_DRAW_STR
2014-05-03 06:06:19 +10:00
Campbell Barton
fc591473b2
Fix T39924: 400 character limit in text fields
2014-05-03 05:03:55 +10:00
Campbell Barton
0bb20259db
Fix incorrect sizes used copying panel idname, tabname.
2014-05-03 04:17:55 +10:00
Campbell Barton
867efab404
Correct own stupid mistake dragging popups (x/y swap)
2014-05-02 10:09:26 +10:00
Campbell Barton
c12af4beb9
Code cleanup: UI use ui_block_to_window_rctf where possible
2014-05-02 09:33:29 +10:00
Campbell Barton
f61e885706
UIL: Dragging popups wasn't updating safe-areas
2014-05-02 09:25:04 +10:00
Campbell Barton
d303556afb
Code cleanup: remove file handling headers where they arent needed
2014-05-02 05:37:11 +10:00
Campbell Barton
4849ca8a56
Fix T39884: Displaying filenames with '|' failing in menus
2014-05-01 12:40:49 +10:00
Campbell Barton
af86b008b2
Include removal gave problems with windows, ifdef some back in for windows only
2014-05-01 07:21:08 +10:00
Campbell Barton
cb48c0ceea
Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a."
...
This reverts commit a47a4ef82f .
2014-05-01 07:20:46 +10:00
Thomas Dinges
a47a4ef82f
Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc.
2014-04-30 23:16:12 +02:00
Campbell Barton
3d5ab5a496
Warning cleanup: signed/unsigned compare
...
also remove redundant loop in BKE_pose_copy_data
2014-05-01 05:57:01 +10:00
Campbell Barton
4ca67869cc
Code cleanup: remove unused includes
...
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-05-01 04:47:51 +10:00
Campbell Barton
48446870a8
Code cleanup: remove redundant CTX calls
2014-04-30 08:11:47 +10:00
Antony Riakiotakis
a2df2a637e
Two changes:
...
* Buffer icons are usually in straight space (since we load from pngs)
so use src_alpha in OpenGL for blending.
* Allow blending for preview icons. This will be useful for the next
commit...
2014-04-27 23:38:39 +03:00
Bastien Montagne
6ac300ae72
Fix part of T39692: Text fields in datablocks editor are broken
...
Text field part. Issue with enums dropdowns remains a mystery currently.
As for pointer fields, afaict they have never worked here, though it should
not crash.
UI_EMBOSS are values, not bitflags (own fault, most likely)...
Note we should probably get rid of UI_EMBOSST, it is used nowhere in UI code (set
in one place only, used nowhere).
2014-04-27 21:42:50 +02:00
Campbell Barton
b6e967be63
Code cleanup: const args and arrays
2014-04-27 08:56:54 +10:00
Campbell Barton
c67bd49e56
Code cleanup: use 'const' for arrays (editors)
2014-04-27 00:25:15 +10:00
Bastien Montagne
d12ceec401
Fix T39861: UI destroys float precision.
...
Note this is only a workaround in fact, adding some precision in radians case.
Validating the field will still generate a precision loss (doing otherwise is
doable-ish, but likely to backfire and/or add too much complexity in an already
complex area).
2014-04-24 17:31:14 +02:00
Campbell Barton
43d695e82e
Code cleanup: view2d api naming
2014-04-21 18:47:17 +10:00
Campbell Barton
9ae0e585b0
View2d: API Cleanup for view<->region conversion
...
View2D had some inconsistencies making it error prone in some cases.
- Inconstant checking for NULL x/y args.
Disallow NULL args for x/y destination pointers, instead add:
- UI_view2d_region_to_view_x/y
- UI_view2d_view_to_region_x/y
- '_no_clip' suffix wasn't always used for non-clipping conversion,
switch it around and use a '_clip' suffix for all funcs that clip.
- UI_view2d_text_cache_add now clips before adding cache.
- '_clip' funcs return a bool to quickly check if its in the view.
- add conversion for rectangles, since this is a common task:
- UI_view2d_view_to_region_rcti
- UI_view2d_region_to_view_rctf
2014-04-21 16:59:40 +10:00
Campbell Barton
b1e1f86eb7
Fix for UI_view2d_to_region_float (was ignoring x,y args)
...
use this for grease pencil stroke conversion to avoid float->int->float conversion.
2014-04-21 14:30:13 +10:00
Campbell Barton
1a1bc281e6
Code cleanup: style
2014-04-21 01:01:33 +10:00
Campbell Barton
a1cab0d38d
Style cleanup
2014-04-17 20:03:39 +10:00