Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-15Fix [#37077] User prefs > Input and Outliner Keymaps mismatch in representation.Bastien Montagne
Remove KeyMap mode from outliner, was an old half-finished features redondant with user preferences settings... Also moved key map item's "event type to map type" and map type defines at WM level, this is too much generic to be at RNA level. Also added a check in versionning code to convert all outdated outliner modes to a valid one (seems old 'verse' ones were not handled as well). Thanks to Brecht for reviews and advices!
2013-10-13code cleanup: utility function for getting a bool as a string.Campbell Barton
2013-09-27replace ints with bools for keymap functions.Campbell Barton
2013-09-27rna: implementing function to remove keymap from keyconfigDalai Felinto
Thanks Campbell Barton for reviewing.
2013-09-20Fix #36226, Select Linked works not in touch with Prefs.Lukas Toenne
When setting keymap properties to values equalling the RNA default, they will get "unset" and automatic operator behavior is used. There is no way to explicitly set the default value as a user. 1) To allow distinguishing uninitialized (not set) properties in the keymap items, a few changes to the RNA struct comparison function are needed: Instead of allowing only strict/non-strict comparison of 2 properties A and B in a struct, this now has 3 modes: * STRICT: compare only the actual property values (same as 'strict' before) * UNSET_MATCH_ANY: if either A or B is unset, consider them a match (same as non-strict before) * UNSET_MATCH_NONE: if one property is set and the other not, consider them a mismatch. The new UNSET_MATCH_NONE mode is useful for keymaps, because it allows keeping user-defined property values in the keymap even if they match the default property value (see wm_keymap_diff function in wm_keymap.c) 2) A new operator is added for unsetting ID properties in the RMB context menu and in user preferences next to keymap properties. This only works on ID properties and deletes the ID property storage, so that the default value is used. In the user preferences for keymaps the properties are shown in an inactive layout to indicate that the default value is used (which some operators such as the "select linked" op from the report use to trigger automatic behavior). When the user sets a property it gets set and stays that way until explicitly "unset" using the new operator.
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-03Fix #35933: setting shortcut keys in object mode menu didn't work correct.Brecht Van Lommel
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-05-11Fix #35262: assiging shortcuts from e.g. delete or selection mode menus did notBrecht Van Lommel
work anymore. This was due to a bugfix to show missing shortcut keys for e.g. the mesh > vertices > separate menu. Both should work now.
2013-04-13code cleanup: use `const char` for args and replace wm_keyconfig_list_find() ↵Campbell Barton
-> BLI_findstring()
2013-04-05code cleanup: quiet some warnings and styleCampbell Barton
2013-04-05Fix #34862: some operators like mesh separate or object clear parent were notBrecht Van Lommel
showing shortcuts in menus, now it shows them in the submenu.
2013-04-04code cleanup: use bools in interface handlers, dont show translation menu ↵Campbell Barton
when right clicking on splash, use less confusing args for copy/paste function.
2013-04-04code cleanup: use bools in UI and WM code, quiet some shadow warnings, ↵Campbell Barton
remove unused function uiEmboss()
2013-03-14use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.Campbell Barton
also replace sprintf with strcpy when no formatting is done.
2013-02-14fix (for one case of...) [#33949] T_ALT_TRANSFORM conflicts with "emulate 3 ↵Campbell Barton
button mouse" ShrinkFatten operator now uses scale key to toggle 'Even thickness' option. With the default keymap this is Alt+S,S. Added functionality so the header print can get the key used for the modal keymap, some other operators should make use of this too.
2013-02-14add missing NULL checks - could cause crashes in rare cases.Campbell Barton
2012-12-04fix for WM_keymap_remove_item() writing to freed memory.Campbell Barton
2012-11-20Fix #33227: custom keymap syncing didn't work well always when adding/removingBrecht Van Lommel
properties from operator, now it compares at RNA rather than ID property level, which is more accurate.
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-11-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell Barton
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties.
2012-10-27Putting back mysterious lines that check KM_CLICK keymap conflictsTon Roosendaal
It's a real puzzle this click bizz!
2012-10-26Bugfix #28734Ton Roosendaal
Double clicks were never working reliably in Blender - this mostly because it wasn't a real event, but something generated in the handler code. Now it is an actual event - meaning it always gets handled (if you have a keymap item for it of course), but if there's no doubleclick handling it treats the doubleclick as a normal click. Also cleaned code. No recursion anymore.
2012-09-21Fix for [#32595] N shortcut (view-properties) is not shown in preview mode ↵Bastien Montagne
in sequence editor. Main problem was in py UI code (has to set the context to INVOKE_REGION_PREVIEW for the shortcut lookup to succeed). Also moved the N properties item into SequencerCommon keymap, and removed the View Selected menu entry from preview-only mode View menu (thx to Ejner Fergo for pointing this out).
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-22style cleanup: commentsCampbell Barton
2012-04-17Fix #30977: error loading modal keymaps from keyconfiguration presets.Brecht Van Lommel
2012-04-16Fix #30958: Right click menu and add shortcut for importers/exporters ↵Sergey Sharybin
doesn't work This was caused by how keymap is guessing for importer/exporter: - In some cases if detected wrong keymap like for IMPORT_CURVE_OT_svg curve editing context was used because of CURVE_OT substring in operator name - In other cases no keymap was detected because of substrings WM_keymap_guess_opname cheched. Fixed by using Window keymap for any operator with EXPORT_/IMPORT_ substring which seems to detect importer/exporter operator and only them nicely.
2012-03-27style cleanup: wm, mosyly adding space around opsCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-02-19style cleanyp: split > 120 width lines.Campbell Barton
2012-01-17Uv Tools branch GSOC 2011Antony Riakiotakis
========================= Documentation: http://wiki.blender.org/index.php/User:Psy-Fi/UV_Tools Major features include: *16 bit image support in viewport *Subsurf aware unwrapping *Smart Stitch(snap/rotate islands, preview, middlepoint/endpoint stitching) *Seams from islands tool (marks seams and sharp, depending on settings) *Uv Sculpting(Grab/Pinch/Rotate) All tools are complete apart from stitching that is considered stable but with an extra edge mode under development(will be in soc-2011-onion-uv-tools).
2012-01-12Fix #29864: crash running blender in background mode with non-default keyBrecht Van Lommel
configuration.
2011-11-21Fix #29333: issue with modal keymap saving.Brecht Van Lommel
2011-11-14fix [#29242] menus have no keyboard shortcutsCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22- use defines for wmKeyMapItem & wmEvent alt/shift/ctrl/oskeyCampbell Barton
- clear utf8_buf on key up & complain if its set (should never happen)
2011-09-08Fix #28310: import of key configuration with modal keymap not working.Brecht Van Lommel
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-15Fix #28202: deactivating keymap items not saving properly.Brecht Van Lommel
2011-08-11Fix #28180: crash running wm.keyconfigs.user.keymaps.new("My Keymap").Brecht Van Lommel
There isn't much point in doing this at the moment, but shouldn't crash.
2011-08-07Fix #28169: keymap bug when using a preset configuration, e.g. object mode ↵Brecht Van Lommel
keymap was also being used in edit mode.