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
2018-11-14WM: enforce descriptions being NULL or definedCampbell Barton
Without this bugs slip through that don't null check the descriptions since many were set to empty strings.
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-07-06Cleanup: use outliner_flag_* name prefixCampbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-25Cleanup: Nuke most of G.main from GPU code.Bastien Montagne
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-31Cleanup: get rid of last G.main usages in BKE library code.Bastien Montagne
2018-05-31Cleanup: remove G.main from BKE objectBastien Montagne
Had to add some G.main to modifiers, but in 2.8 we do not need that anymore, so it's not that bad! ;)
2018-05-30Fix missing movieclip ID type in allowed ones for Outliner...Bastien Montagne
2018-05-30DNA: add OB_DATA_SUPPORT_EDITMODE macroCampbell Barton
2018-05-29Cleanup: Get rid of G.main in BKE_material.Bastien Montagne
Note that in some cases, this only moves the G.main case to somne other places - in particular, RNA getters/setters are becoming annoying here...
2018-05-15Undo System: remove nested edit-mode undo callsCampbell Barton
Regression in recent undo system changes, This caused T55048. When each mode had its own undo stack it was important to initialize it when entering edit-mode.
2018-04-15Cleanup: ED_armature namingCampbell Barton
- Wasn't clear which functions handle edit-bones. - Mixed both ebone and edit_bone in names. - Didn't use ED_armature_* prefix for public API. See P655 to apply to branches.
2018-04-11Pose Mode: pass object to mode enter/exitCampbell Barton
Also add lower level mode exit function
2018-04-11Cleanup: minor changes to pose-mode switching APICampbell Barton
Prepare for multi-object pose mode
2018-04-10Cleanup: remove unused flagCampbell Barton
2018-04-02Cleanup: move undo into it's own directoryCampbell Barton
Split out undo API from ED_util.h into ED_undo.h
2018-04-01Cleanup: remove global headerCampbell Barton
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-01-19Cleanup: typosCampbell Barton
2017-11-20Fix T53342: Outliner 'select hierarchy' brokenCampbell Barton
Was using cursor position from within menu, clicking on the same position for every selected item (toggling). Now operate on each selected outliner element, without toggling.
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-10-31UI: replace UI_ITEM_O_RETURN_PROPS /w return argCampbell Barton
Means we can have a version of this function that returns the button and avoids returning a struct that often isn't used.
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-04Cleanup: redundant castsCampbell Barton
2017-08-28Make GS macro return proper IDType typeSergey Sharybin
Previously it was returning short, which was really easy to (a) compare against non-ID type value (b) forget to handle some specific value in switch statement. Both issues happened in the nearest past, so it's time to tighten some nuts here. Most of the change related on silencing strict compiler warning now, but there is also one tricky aspect: ID_NLA is not in the IDType enum. So there is still cast to short to handle that switch. If someone has better ideas how to deal with this please go ahead :)
2017-08-26Fix T52538: Outliner crash when displaying groups and using Show Active on ↵Bastien Montagne
editmode bone not in any groups There's no guaranty that given ID is found in current outliner tree... Safe for 2.79, though not a regression.
2017-06-30Workaround T51934: Array's > SHRT_MAX aren't supportedCampbell Barton
2017-06-29Fix T51926: Selecting pose icon under expanded group in outliner causes crash.Bastien Montagne
Cannot switch uninstantiated armature to Pose mode...
2017-06-26Add warning that 'purge all' action in Outliner does save to current .blend ↵Bastien Montagne
file. This is a very important, potentially deadly side-effect of this operator. If something goes wrong, it can save a broken .blend file. Ideally we could get rid of that operation anyway, once ID management if fully renewed, but for now would rather keep it around. Related to T51902.
2017-06-15Cleanup: make Group Unlink outliner action use `BKE_libblock_delete() too.Bastien Montagne
Same as in rB2bd51474a44...
2017-05-31Fix T51680: 'Delete Group' from Group view of Outliner does not work.Bastien Montagne
Do not call invoke ops from outliner's operations menus. Invoke op would search again for item under mouse coordinates... when it is invoked! Means often entry menu you would have clicked would not be over target item, leading to either nothing or operation being applied to wrong item. Note: about groups, there is another minor annoyance leading to some assert - groups have an annoying virtual fake user which breaks usercount, will see whether this is easily fixable. :|
2017-05-29Fix T51625: fix impossibility to delete uninstantiated objects from Outliner.Bastien Montagne
The fact that we can end with uninstantiated objects is not expected currently, but would rather not start chasing all corner cases that may lead to that situation. User shall be able to delete uninstantiated objects from Outliner, though!
2017-05-19Cleanup: add braces for multi-line blocksCampbell Barton
2017-03-24Fix various i18n ambiguous issues reported in T43295.Bastien Montagne
2017-03-22fix redundant assignmentMike Erwin
Thanks clang for the warning.
2017-03-22Cleanup/optimization: Simplify some usages of uiItemFullO/_ptr, avoid ↵Bastien Montagne
multiple search of same op.
2017-03-17Various icon adjustmentsraa
2017-03-16Fix missing undo pushes in outliner's new datablock management operations.Bastien Montagne
Not sure why I did not put those from start... Actually *not* having an undo point here can be problematic, since undoing some previous action was trying to restore from bad pointer (I think) in UI, generating asserts. Note however that it's not a 'pure' undo, in that you may not find your linked data in exact same state as before deleting it, after an undo, since it actually implies *reloading* the deleted libraries (and not restoring from a previously stored memory dump). Reported by @sergey, thanks.
2017-03-16Fix outliner contextual menu allowing to delete indirect libraries.Bastien Montagne
There is no way currently to prevent the option from showing in menu, so instead report a warning to user (and curse again current nightmarish system of operation in outliner...). Reported by @sergey, thanks.
2017-02-27Surface Deform Modifier (SDef)Luca Rood
Implementation of the SDef modifier, which allows meshes to be bound by surface, thus allowing things such as cloth simulation proxies. User documentation: https://wiki.blender.org/index.php/User:Lucarood/SurfaceDeform Reviewers: mont29, sergey Subscribers: Severin, dfelinto, plasmasolutions, kjym3 Differential Revision: https://developer.blender.org/D2462
2017-01-16Cleanup/refactor: Add new BLI_string_util.Bastien Montagne
Things like `BLI_uniquename` had nothing, but really nothing to do in BLI_path_util files! Also, got rid of length limitation in `BLI_uniquename_cb`, we can use alloca here to avoid overhead of malloc while keeping free size (within reasonable limits of course).
2017-01-04Fix T50369: Objects can't be deleted from scene when using "link group ↵Bastien Montagne
objects to scene" Main issue here was that in old usercount system 'user_real' did simply not allow that kind of thing to work. With new pait of 'USER_EXTRA' tags, it becomes possible to handle the case correctly, by merely refining checks about indirectly use objects whene removing them from a scene. Incidently, found another related bug, 'link group objects to scene' was not incrementing objects' usercount - bad, very very bad!