Commit Graph

1411 Commits

Author SHA1 Message Date
b6d0daa9cb utf8 editing for UI text input, this means backspace, delete, arrow keys properly move the cursor with multi-byte chars.
Note that this is only for the interface, text editor and python console still miss this feature.
2011-10-16 12:25:42 +00:00
7f4bb1f71b spelling corrections in comments and quiet warning 2011-10-15 14:14:22 +00:00
9613de6248 make sure render layer names are unique when setting through rna. 2011-10-15 09:59:31 +00:00
f8317ed450 fix UI jump in normal buttons for buttons which didnt start out normalized. 2011-10-15 09:43:42 +00:00
e5e201ccd8 Fix for first part of #28911: driver not working properly since 2.594
Missed id type set for driver target when setting target id.

Patch by me and Campbell.
2011-10-14 11:24:20 +00:00
79f21f88c2 fix for drag-n-drop ID's for renaming (own fault when fixing #24016) 2011-10-11 10:59:52 +00:00
f6cd962df7 bug #28848 also mentions Ctrl+Backspace isnt working.
added support for ctrl+backspace/delete.
2011-10-10 01:11:40 +00:00
a378668ac2 text edit: selecting zoomed in text with the mouse had an incorrect offset. 2011-10-09 01:11:07 +00:00
e50a485836 text editing: make jumping left/right both act the same way (was skipping an extra char when jumping left). 2011-10-09 00:54:41 +00:00
db4b3742a1 button text editing: home/end were not moving the cursor position, only the selecton. 2011-10-09 00:45:26 +00:00
a016fdd499 fix [#28848] Editing object name (e.g.), Ctrl-Shift-Arrows don't work as Ctrl-Arrows. 2011-10-09 00:35:31 +00:00
388eae9a81 minor edits
- use TRUE/FALSE rather than 1/0
- WM_operator_properties_create_ptr rather than WM_operator_properties_create since the pointers available.
- remove redundant strlen()
2011-10-05 12:20:38 +00:00
f618bc5aca Fix #28202: (only) modifying keymap item properties did not save properly, the
update signal for this was missing. Problem is that the operator properties
RNA update callback doesn't know the associated keymap item, worked around it
with UI template now.
2011-10-04 13:24:48 +00:00
59c0cbbc34 fix for missing null check in own recent commit. 2011-10-03 18:03:44 +00:00
cdc564064c revert r40738, flipepd enums give quick access to first items, even if it does seem odd to have them flipped. 2011-10-03 17:59:33 +00:00
b001eeb10d Change struct alignment for structs which are intended to be aligned but aren't.
remove uiIconImage too since its unused.
2011-10-03 01:36:25 +00:00
f87ab2e907 minor edit for UI code, pointless short/int mix. 2011-10-03 01:01:01 +00:00
91283853b2 fix [#28786] Large enum lists display columns in inverted order (right to left)
also cleared annoying intel c++ warnings.
2011-10-01 21:09:42 +00:00
2bb59bc273 Fix #28432: Scrolling lists respond incorrectly if mouse is not moved
Copy hardmin for LISTROW and ROW buttons when updating button
from old block due to list item index is stored in this value.
2011-09-30 15:42:04 +00:00
f3ae228c9d minor changes, dont append with cmake platform flags which is a string and use enum values rather then ints in a few places. 2011-09-30 15:22:13 +00:00
265c113820 fix for crash generating messages.txt, I wasn't getting this crash because I had 'WITH_PYTHON_SAFETY' enabled which was using different iterators (which dont crash), now there on by default.
made headless and no-python configurations work again and added --factory-startup to doc building command.
2011-09-30 07:47:45 +00:00
add77842d9 Minor: Other UI strings typos and tweaks. Also updated french po & mo.
(grrr... That update created tons of new things... back to ~40% done...)
2011-09-29 14:41:11 +00:00
ceb81b1960 no-longer select handles when transforming in the dopesheet since now the dope sheet acts as if handles are hidden.
also remove invalid comment.
2011-09-29 06:13:25 +00:00
2ad45b5c4f fix 2 bugs with reset-default failing on operators redo panel.
- The operator its self was registered so resetting the defaults would unhelpfully replace the toolbar with the reset to defaults operator panel.
- The callback for the operator wasnt being used so the settings were changed but the operator didnt re-run.
2011-09-28 18:45:17 +00:00
018fa1540e whitespace edits, make formatting for functions consustent at least within the file. 2011-09-28 05:53:40 +00:00
2bc2752374 correct own fix for #28751 2011-09-28 02:02:57 +00:00
ac166d5eb6 Fix for MSVC. 2011-09-27 19:04:27 +00:00
3bcbefa558 minor changes to interface code (no functional changes)
- made 2 loops on menu items break out of the loop when the item is found.
- include function names in error prints.
2011-09-27 17:04:38 +00:00
3abfb2af43 fix [#28752] Brush Icons do not scale correctly with DPI 2011-09-27 16:39:41 +00:00
aaae90af33 fix [#28751] Item in Enum propertie is grayed out
was infact a very old bug where an empty title took the following word for the title, eg: "%t|First Item|Second Item"
the first item would be evaluated as a title.
2011-09-27 16:23:40 +00:00
4b24951ff1 Return back nice eye icon to constraints header (instead of speaker which not so nice in this context, imo) 2011-09-27 13:11:19 +00:00
e897c8e83e fix [#28742] UILayout.menu() with icon misbehaves in headers 2011-09-26 17:32:50 +00:00
dc76be62d9 replace strnlen with BLI_strnlen, make some args const - no functional changes. 2011-09-26 17:30:56 +00:00
fbdfdfefd8 use BLI_snprintf rather than sprintf for interface functions 2011-09-26 16:53:04 +00:00
573ed73be8 change define INTERNATIONAL --> WITH_INTERNATIONAL
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-26 10:35:47 +00:00
274b9c8fb8 whitespace cleanup 2011-09-25 12:31:21 +00:00
232da3741e Fix #28593: F6 operator redo could crash when editing buttons that use unit
settings, these could get freed with the scene on undo/redo, make a copy now.
2011-09-22 14:55:39 +00:00
ae0124157f Translation: reload font on enabling/disabling use international fonts. 2011-09-21 15:15:30 +00:00
7172316b94 Merging r40366 through r40392 from trunk into soc-2011-garlic 2011-09-20 12:01:16 +00:00
84d06f252e tag & comment unused vars with /* UNUSED */ 2011-09-20 08:48:48 +00:00
e49e403953 i18n: replace some bit checks from U.transopts with utility functions UI_translate* 2011-09-20 07:47:27 +00:00
6d125e159d i18n: code clean-up
- Move all translation-related declarations to BLF_translation.h
- Reverted some changes to match trunk svn rev40365
2011-09-20 07:39:25 +00:00
8dbc7a3ba3 Merging r40345 through r40365 from trunk into soc-2011-garlic 2011-09-19 15:47:05 +00:00
2cbf475fb2 Merged 40338-40364 2011-09-19 15:36:30 +00:00
706a2c80f0 i18n: code cleanup and fixing unneeded translation (when partial translation is used only) 2011-09-19 15:10:38 +00:00
f157a543c6 /blender/editors: Removed final points in UI strings and messages.
Plus a few cuts in very long lines…
2011-09-19 12:26:20 +00:00
1c0bdad835 svn merge -r40222:40344 ^/trunk/blender 2011-09-19 10:48:15 +00:00
9b7b8464b9 i18n: do not translate obect mode enum and transform orientation enum if UI translation is disabled 2011-09-19 10:32:53 +00:00
a89b253aa6 edits to radish before merge with trunk
- removed some unused functions.
- renamed vars to make more sense paint_vertex.c 'flags' --> 'lock_flags'
- some odd modifications were made in unrealted, commented code, copy these back from trunk.
- rename vertex_group_fix 'cp' property to 'accuracy'
- make style more consistant with trunk.
- remove 'Radish' comments.
2011-09-19 02:43:03 +00:00
73863a1da5 Split do_weight_paint_vertex() to isolate the simple case.
Added a tool-tip to the "fix deforms" op.

Removed code markers:
"Radish"
2011-09-18 17:10:28 +00:00