Commit Graph

3048 Commits

Author SHA1 Message Date
Campbell Barton
2575be541b Correct enum size incase compiler makes enum signed 2014-07-01 18:38:34 +10:00
Bastien Montagne
2e64b8354b Fix T40885: "Reset Curve" is backwards on Custom Falloff Curves (Lights).
Add ability to define negative slope by default to curvemapping template...
2014-06-30 16:23:47 +02:00
Campbell Barton
9327538f0a UI: increase contrast for active colorband handle 2014-06-27 23:17:39 +10:00
Campbell Barton
b9522e557a UI: use cursor x-location for tooltip placement (T37478) 2014-06-27 22:56:31 +10:00
Campbell Barton
1b76c638ad Code cleanup: remove MAT3/4_UNITY defines, just call unit_m3/4 2014-06-26 16:09:59 +10:00
Campbell Barton
a4d9c8f579 Code cleanup: casts, dead assignment & arg order. 2014-06-26 15:46:42 +10:00
Lukas Tönne
42959f05a4 Fix T40759: "Add Shortcut" operator was leaving new keymap items on
cancel.
2014-06-25 17:42:01 +02:00
Campbell Barton
0529766f32 Use api function for flipping button list & rename to BLI_listbase_reverse 2014-06-25 19:33:35 +10:00
Campbell Barton
1731d47976 Fix own error in recent tooltip commit 2014-06-25 02:40:53 +10:00
Campbell Barton
16baa8c273 Update the design of tooltips
- left aligned
- higher contrast between tip text and py-text
- use monospace for py-text

D611 by Severin, design by Plyczkowski, with own minor changes.
2014-06-24 19:07:41 +10:00
Campbell Barton
3e2d8d2233 Spelling 2014-06-22 23:55:00 +10:00
Campbell Barton
2762432052 Code cleanup: de-duplicate widget_num_tria, widget_scroll_circle 2014-06-22 15:01:54 +10:00
Campbell Barton
8660a0cab3 UI: auto-open other menus by hovering over, once a menu is already open
D590 by Matthew Reid
2014-06-20 17:34:21 +10:00
Campbell Barton
24723131ef Correct for recent commit to refactor popups 2014-06-19 15:40:46 +10:00
Campbell Barton
5138485d43 missed removing this in recent popup refactor 2014-06-19 04:24:15 +10:00
Tamito Kajiyama
f0a3ea54f8 Fix for weak floating-point number comparison.
Was causing assertion failures in MinGW-w64.
2014-06-18 14:18:41 +09:00
Campbell Barton
716430ab64 Code cleanup: comments 2014-06-15 12:15:53 +10:00
Campbell Barton
fa17e3b14c UI: refactor text cache to use zero length arrays
also correct some bad casts
2014-06-15 04:32:41 +10:00
Campbell Barton
ea2043eb3a UI: Add support for popups to refresh their layput (D578)
This is needed for popups to chance state once activated,
currently it makes use of operators `check` callback, after values are modified,
as the file selector does already.
2014-06-15 01:42:31 +10:00
Campbell Barton
ee87c161db UI: use BLI_strdup to store the original string. 2014-06-14 18:32:18 +10:00
Campbell Barton
34ae5bd378 UI: uiContextActivePropertyHandle wasn't passing the event to the uiBlockHandleFunc 2014-06-14 18:14:53 +10:00
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