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-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-31Cleanup: blf internal struct namingCampbell Barton
- use x/y/width/height/max as a suffix. - replace 'num' prefix /w 'len' suffix.
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).
2018-03-23Cleanup: doxy header, line lengthCampbell Barton
2018-03-23Cleanup: move image undo into own fileCampbell Barton
2018-03-23Fix issues with confirmation prompt on WindowsJulian Eisel
* Pressing "OK" wouldn't close Blender anymore * Using File -> Quit would use popup version, not OS native window Cleaned up code a bit to avoid duplicated logic.
2018-03-23Fix own mistake from 4cb4556fa5ba78ffJulian Eisel
Trying to close Blender from a second window wouldn't work, the first window would have to be hovered first. Ouch!
2018-03-23Fix memory leaks when doing "Save & Quit"Julian Eisel
Steps to reproduce were: * Open Blender (no need for factory settings, "Promt Quit" needs to be enabled) * Edit the file (e.g. translate some object) * Quit Blender but don't skip quit promt * Press "Save & Quit" * Save the file Not sure if Windows supports the "Save & Quit" behavior, so this may not have applied to Windows.
2018-03-23Fix T48027: Memory leaks when exiting Blender from menuJulian Eisel
You only had to close Blender through File -> Quit. Leaks happened because WM_exit() was called from within operator, UI wasn't able to free some of it's heap data then. This data was the handler added in uiTemplateRunningJobs() and the IDProperty group added in uiItemFullO_ptr_ex(). There was obviously a general design issue which only became visible in this specific case. We now delay the WM_exit call by wrapping it into a handler that gets registered as usual. I didn't see a better way to do this, all tricks done in ui_apply_but_funcs_after() to prevent leaks didn't work here. In fact they may be redundant now, but am not brave enough to try ;)
2018-03-22Depsgraph: Report new depsgraph evaluation timeSergey Sharybin
Timing is printed to the console when running with --debug-depsgraph-time.
2018-03-22UI: skip confirmation menu on quit prompt to saveCampbell 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-21UI: Optional prompt to quit for non win32 systemsCampbell Barton
D566 by @januz Use Blender native dialog when OS dialog's aren't supported.
2018-03-21Fix T54378: Drivers fail with property from emptySergey Sharybin
Empties were missing Parameters component.
2018-03-20Remove debug only code from previous commitSergey Sharybin
2018-03-20Memory allocator: Clarify consistency check functionSergey Sharybin
Also make it to return truth when everything is good and false otherwise.