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-04-05ED_undo: use loggingCampbell Barton
2018-04-05Fix crash w/ empty text undo operationsCampbell Barton
2018-04-04Fix modifier freeing code re. ID refcounting.Bastien Montagne
Free code should not handle ID refcounting at all. This has to be done at higher level, since in some case we want to free (temp) data that actually did not refcount at all its IDs. This change seems to be working OK, but as usual in that area, only lots of testing in real-case situation will say whether there are some hidden bugs or not.
2018-04-03Cleanup: rename BMesh count_ex -> count_at_mostCampbell Barton
2018-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
2018-04-03Undo: use with_prev verisons of id-map lookupsCampbell Barton
2018-04-03Undo: use general id-map for image undo lookups.Campbell Barton
Was doing own name based lookups to keep compatible w/ global undo.
2018-04-03Undo: remove particle undo pushCampbell Barton
Was only called on copy particle system which is already doing an undo push.
2018-04-03Cleanup: editor BKE_main includesCampbell Barton
2018-04-03Undo: replace global access w/ ED_undo_stack_getCampbell Barton
While I'd like to avoid using this too much since the operator system should handle. It's less trouble than accessing it inline each time.
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-02Undo: store active curve shape key in edit-modeCampbell Barton
2018-04-01Cleanup: remove global headerCampbell Barton
2018-03-31Undo: unified undo system w/ linear historyCampbell Barton
- Use a single undo history for all operations. - UndoType's are registered and poll the context to check if they should be used when performing an undo push. - Mode switching is used to ensure the state is correct before undo data is restored. - Some undo types accumulate changes (image & text editing) others store the state multiple times (with de-duplication). This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`. - Each undo step stores ID datablocks they use with utilities to help manage restoring correct ID's. Needed since global undo is now mixed with other modes undo. - Currently performs each undo step when going up/down history Previously this wasn't done, making history fail in some cases. This can be optimized to skip some combinations of undo steps. grease-pencil is an exception which has not been updated since it integrates undo into the draw-session. See D3113
2018-03-31BLI_sort_utils: add pointer sorting callbackCampbell Barton
Also rename Pointer -> Ptr
2018-03-30C Logging: use instead of printf for messagesCampbell Barton
- See `--log` help message for usage. - Supports enabling categories. - Color severity. - Optionally logs to a file. - Currently use to replace printf calls in wm module. See D3120 for details.
2018-03-27Cleanup: move paint curve undo into own fileCampbell Barton
2018-03-25Text: line break always returned cancelledCampbell Barton
Harmless but incorrect.
2018-03-23Theming: Use list-item colors for all un-embossed buttons in list-itemsJulian Eisel
E.g. number buttons in the shape key list would use theme colors of text widgets. Addresses T50862.
2018-03-23Cleanup: stray tabsCampbell Barton
Tabs in middle of code (mostly for no reason / by accident).
2018-03-23Cleanup: doxy header, line lengthCampbell Barton
2018-03-23Cleanup: move image undo into own fileCampbell Barton
2018-03-22Fix T54348: Bone dissolve gives invalid hierarchyCampbell Barton
Disconnected bones weren't handled correctly.
2018-03-22Fix bone dissolve using wrong envelope radiusCampbell Barton
Also correctly copy bone tip selection when dissolving.
2018-03-19Cleanup: use utility header for particle loopingCampbell Barton
2018-03-19Cleanup: move particle undo into own fileCampbell Barton
Also avoid extern declarations which can get out of sync.
2018-03-19Cleanup: move armature undo into own fileCampbell Barton
2018-03-19Cleanup: move metaball undo into own fileCampbell Barton
2018-03-19Cleanup: move curve undo into own fileCampbell Barton
2018-03-19Cleanup: split lattice into own libraryCampbell Barton
Was mixed with object functionality.
2018-03-18Cleanup: use MEM_SAFE_FREECampbell Barton
2018-03-16Cleanup: move mesh mirror functions to own fileCampbell Barton
2018-03-16Cleanup: doxy sections for editmesh files.Campbell Barton
2018-03-16Fix T54326: Import Alembic stuck in edit modeKévin Dietrich
Switch to object mode before doing the import.
2018-03-16Fix T53971: single layer render showing the wrong render layer in image editor.Cheryl Chen
Original patch Cheryl Chen, extra fixes by Brecht. Differential Revision: https://developer.blender.org/D3098
2018-03-14Fix T54319: Crash after double-clicking baked F-curveSergey Sharybin
2018-03-14Cleanup: rename BLI_array_count -> lenCampbell Barton
Match naming convention used everywhere else. Count should only be used when this isn't directly accessible.
2018-03-14Cleanup: use sections for editmesh tools/selectCampbell Barton
2018-03-13Cleanup: pass selectmode directlyCampbell Barton
Pass instead of editmesh or toolsettings. Needed for multi edit-mode
2018-03-13Cleanup: doxygen commentsCampbell Barton
2018-03-13Use Action datablock's own icon (instead of Animation Data's one) for File ↵Joshua Leung
Browser's lib icons
2018-03-13Cleanup: long lines, use doxy sectionsCampbell Barton
2018-03-12Cleanup: remove misleading array sizeCampbell Barton
2018-03-12Cleanup: sync EDBM_uv_* functions w/ 2.8Campbell Barton
They're nearly the same, so keep names matching to avoid conflicts.
2018-03-12UV: internal changes to pickingCampbell Barton
Nothing user visible, only things needed for multi-object support, making picking functions more flexible too. - Support passing in an initialized hit-struct, so it's possible to do multiple nearest calls on the same hit data. - Replace manhattan distance w/ squared distance so they can be compared. - Return success to detect changes to a hit-data which might already be initialized (also more readable).
2018-03-11Cleanup: long linesCampbell Barton
2018-03-09Fix Pose Lib: pose is applied when selected bones don't overlap with poseSybren A. Stüvel
Premise: When pose bones are selected, applying a pose library should only affect the selected bones. This commit fixes a bug where the pose was also applied when there was no overlap between the selected bones and the bones in the pose. For example, applying a pose which contains only keyframes for the left hand, while only right-hand bones are selected, would apply the pose to the left hand anyway. The code is now also slightly more efficient; the removed 'selcount' counter was only used as a binary (i.e. zero or non-zero). It's now stored as a bitflag instead.
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-03-08Cleanup: use edit/active objects from view contextCampbell Barton
Needed to implement multiple edit-objects.
2018-03-08Cleanup: set the view-context onceCampbell Barton