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
path: root/source
AgeCommit message (Collapse)Author
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 System: id-map avoid duplicate add/lookupCampbell Barton
Add versions of add/lookup that check the previous item.
2018-04-03Fix mistake logging w/ undoCampbell Barton
2018-04-03Fix (unreported) crash when accessing some bl_rna.properties.Bastien Montagne
E.g. typing `bpy.data.bl_rna.properties[8].<tab>` in console would hard-crash trying to dereference NULL pointer. Was a missing check in rna_Property_tags_itemf().
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-02PyAPI: Add PyC_Tuple_Pack_F64 utilityCampbell Barton
2018-04-02Cleanup: remove redundant imbuf return valuesCampbell Barton
Some functions always returned the input argument which was never used. This made code read as if there might be a leak. Now return a boolean (true the imbuf is modified).
2018-04-02Build: fixes for the Intel compiler versions 2016, 2017, 2018.Milan Jaros
Differential Revision: https://developer.blender.org/D3109
2018-04-02Cleanup: newlines left in messagesCampbell 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-02Cleanup: move BKE_global include under ifdef'sCampbell Barton
2018-04-02Undo: store active curve shape key in edit-modeCampbell Barton
2018-04-02Logging: use for Python APICampbell Barton
Adds categories "bpy.context" & "bpy.rna"
2018-04-02imbuf: revert some of the changes of ↵Ray Molenkamp
rBb6ba3c682dd6615e760905572a5bcd69bb46371f since they broke the build.
2018-04-01Fix compiling with AlembicSergej Reich
Still need G.main
2018-04-01Correct accidental changes by C Logging additionCampbell Barton
Error in 891c1cfc9a3
2018-04-01Resolve unsigned comparison error w/ MSVCCampbell Barton
2018-04-01Cleanup: remove global headerCampbell Barton
2018-04-01Removed by accident in last commitCampbell 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-31Merge branch 'master' into soc-2017-normal-toolsRohan Rathi
2018-03-31Logging: add argument --log-show-basenameCampbell Barton
Optionally strips leading path from filenames when logging.
2018-03-31Cleanup: --help text outputCampbell Barton
Some arguments missed their <value>.
2018-03-31Cleanup: blf internal struct namingCampbell Barton
- use x/y/width/height/max as a suffix. - replace 'num' prefix /w 'len' suffix.
2018-03-31Logging: add ability to exclude categories.Campbell Barton
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-29PyDocs: Adde link to Wikipedia page for mathutils.Euler classAaron Carlisle
This update adds a link to the Wikipedia article "Euler angles" to the description of the mathutils.Euler class. I initially was not sure what a "Euler" represented in Blender API, but found the Wikipedia article helpful. I believe others will find the link helpful too if it appears in the class documentation. This is similar to the Wikipedia links that appear in the mathutils.Matrix class, e.g: https://docs.blender.org/api/blender_python_api_current/mathutils.html?highlight=euler#mathutils.Matrix.adjugate Author: @justasb Reviewers: campbellbarton, trumanblending, Blendify Reviewed By: Blendify Subscribers: Blendify Tags: #bf_blender Differential Revision: https://developer.blender.org/D3077
2018-03-29Depsgraph: initialize EvaluationContext even if nothing to updateDalai Felinto
This is required to T54437 (sequencer preview uses last updated scene). Although the fix itself needs to be in 2.8, for the 2.8 specific initialization code.
2018-03-28Cleanup: Tooltip spellingAaron Carlisle
2018-03-28Fix Collada: broken tangents with Camera Animation import for xfovGaia Clary
When importing an xfov curve, we must transformed the data to Lens opening angles in degrees. While the curve value itself is correctly transformed, the transformation of the tangents has been forgotten. this is fixed now.
2018-03-28Cleanup: typo in function nameCampbell Barton
2018-03-28BLI_array: utility to check memory is zerodCampbell Barton
2018-03-27Fix T54435: Quit prompt fails w/ fractional scaleCampbell Barton
2018-03-27Cleanup: global undo (minor changes to internals)Campbell Barton
- Get memory usage from MemFile instead of MEM API avoids possible invalid when threads alloc memory. - Use size_t instead of uint and uintptr_t to store size. - Rename UndoElem.str -> filename - Rename MemFileChunk.ident -> is_identical
2018-03-27Cleanup: move paint curve undo into own fileCampbell Barton
2018-03-26BLF: Don't use user preferencesSergey Sharybin
BLF is a low level module, which might (and is) used without Blender. Thanks Campbell for review!
2018-03-26BLF: Cleanup, indentation inside of preprocessorSergey Sharybin
2018-03-25Text: line break always returned cancelledCampbell Barton
Harmless but incorrect.
2018-03-24Text: re-allocate exact lengths for undoCampbell Barton
Undo sometimes reserved too much space in the buffer, now assert when this happens and allocate the exact size needed. Note prepares for moving text editor undo out of the text block (D3113) which will split the undo buffer into a list of undo steps.
2018-03-24Fix text editor undo w/ 4+ byte utf8 charactersCampbell Barton
2018-03-24Cleanup: move undo opcodes out of public headerCampbell Barton
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-23UI: restore quit confirmation when dialog disabledCampbell Barton
2018-03-23msvc: Fix msvc2013 new despgraph related build errors.Ray Molenkamp
msvc's function.hpp does not like NULL for function pointers. disabled support for this platform.
2018-03-23UI: 4-column layout for the editor-type selector menuJulian Eisel
The list of editor-types is rather long by now, so better to arrange them into sections. Original patch by @jeske with updates by @Blendify and myself. Design Task: T36028 Patch: D3112
2018-03-23Cleanup: stray tabsCampbell Barton
Tabs in middle of code (mostly for no reason / by accident).