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
2019-09-23Fix T70013: slow OpenGL calls for every vertex and weight painting stepDaniel Grosse
Stroke update use now the location from Strokecache instead of the mouse position. Differential Revision: https://developer.blender.org/D5861
2019-09-23Fix T70143: GPencil Multiframe selection is not updated when use Box select ↵Antonio Vazquez
in Dopesheet Differential Revision: https://developer.blender.org/D5868
2019-09-23Modifiers: every modifier now copies mesh settings, fixing texture space issuesBrecht Van Lommel
Modifier stack evaluation would copy mesh settings other than mesh topology automatically, outside of the individual modifier evaluation. This leads to hard to understand code, and makes it unclear which settings are available in following modifiers, and which only after the entire stack is evaluated. Now every modifier is responsible to ensure the mesh it outputs preserves materials, texture space and other settings, or alters them as needed. Fixes T64739: incorrect texture space for various modifiers Differential Revision: https://developer.blender.org/D5808
2019-09-23Cleanup: remove unimplemented texture space rotation variablesBrecht Van Lommel
2019-09-23Cleanup: remove Mesh.bb and Curve.bb, no reason for these to be persistentBrecht Van Lommel
These were only strictly valid for texture space calculation, don't store them since they should not be used after that. Only store a flag to indicate if the auto texture space has been evaluated. In the future it might make sense to store bounding boxes at the mesh level to speed up bounding box computation for multiple objects using the same mesh, but then it will need to be implemented differently.
2019-09-23Fix selection and snapping misusing texture space as boundboxBrecht Van Lommel
This fixes the regression from T70103 introduced by the fix for T70103.
2019-09-23GPencil: Use correct comparison for non-bit valuesAntonio Vazquez
2019-09-23Revert part of "GPencil: Invert Paste operator and make Paste to Active default"Brecht Van Lommel
This commit accidentally undid a bunch of previous commits. Only the intended changes are left now.
2019-09-23ShaderNodeTree: Add flatten function to get rid of nodegroupsClément Foucault
This makes a lot of shader node wiring code less complex. This only add the flatten mechanism (which fixes T69672). ~~Cleanup to remove the complexity in ntree_shader_relink_displacement, ntree_shader_bump_branches and ntree_shader_tag_nodes will be commited separately.~~(already included) The code is only added for shader nodes for now but could be exported to other internal nodetree types in the future. Cleanup: Node Shader Tree: Remove GPUmaterial special nodegroup handling Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T69672 Differential Revision: https://developer.blender.org/D5829
2019-09-23Fix T70177: Crash when calling to_track_quat() without argumentsJacques Lucke
2019-09-23ImBuf: add planes, channels attributesCampbell Barton
D5857 by @cmbasnett
2019-09-23Cleanup: use bracesCampbell Barton
2019-09-22Fix T69593: Color strip won't updateRichard Antalik
Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D5803
2019-09-22Fix T69564: Empty fcurve prevents waveform drawingRichard Antalik
Add check if fcurve is empty to skip fcurve evaluation. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D5805
2019-09-22Fix T69352: Audio strips don't update when changing `frame_start`Richard Antalik
Tag depsgraph update as a part of cache invalidation. Author: mdewanchand Reviewed By: ISS Differential Revision: https://developer.blender.org/D5718
2019-09-22Cleanup: MOD_explode: Sanitize code some more.Bastien Montagne
This happens to be a non-behavioral change, but previous code here was *very* confusing, and only ended up generating expected results by mere chance (since `facepa[i]` == `totpart` in case the face has no (valid) particle, i.e. `pa == NULL`)...
2019-09-22Cleanup: MOD_Explode: sanitize face-without-particle case.Bastien Montagne
Systematically reset particle pointer to NULL and use it to detect invalid particle case, instead of checking value of the face's particle index everywhere in a confusing and prone-to-bug way (see T70150 and previous commit). No behavioral change expected here.
2019-09-22Fix T70150: Explode modifier crashes with empty vertex group.Bastien Montagne
There’s be a lot to say about that explode modifier code, for now just follow other places in code... But the handling of 'invalid'/'unkown' particle case is... quiet confusing to say the least.
2019-09-22UI: Move new sculpt mode tools to correct places in toolbarWilliam Reynish
Follows general logic, and are placed next to similar tools.
2019-09-22UI: Add missing toolbar icons for Sculpt ModeWilliam Reynish
2019-09-22GPencil: Fix missing last point when sculpt in MultiframeAntonio Vazquez
This was a mistake when fixed the problem with multiframe sculpt. I missed change the index and use active point in the check.
2019-09-22Mathutils: expose the swing + twist Quaternion decomposition to Python.Alexander Gavrilov
This decomposition is useful in rigging, and involves a math trick.
2019-09-21GPencil: Performance improvement for Multiframe and Onion SkinAntonio Vazquez
Before when Onion or Multiframe was enabled the VBO length was the total of points on the object for all frames and this results in a big size when the scene had a lot of frames. Now, the size of VBO length is calculated more precisely and reduce the time to alloc the VBO.This also reduce memory footprint.
2019-09-21Cleanup: Fix comment mistakeAntonio Vazquez
2019-09-21GPencil: Apply transformed rotation only if neededAntonio Vazquez
If there aren't modifiers or they are not transform type, the rotation is not needed.
2019-09-21GPencil: Use Object location instead of 3D cursor for Grab BrushAntonio Vazquez
Instead to use the 3D cursor as reference point (legacy code), it would be better use the object location. Tested by: @pepeland
2019-09-21GPencil: Remove Sculpt rotation effect for multiframe sculptAntonio Vazquez
As multiframe does not use modifiers, this is not required and only gets weird results. Related to T70116
2019-09-21GPencil: More changes to use original data in multiframe sculptAntonio Vazquez
Related to T70116
2019-09-21GPencil: Multiframe Show only Edit lines was invertedAntonio Vazquez
The flag was working in the oposite mode. Related to T70116
2019-09-21GPencil: Copy temp color in multiframeAntonio Vazquez
As the evaluated data is not calculated in multiframe, needs to have the original colors. Related to T70116
2019-09-21GPencil: Rename functionAntonio Vazquez
2019-09-21GPencil: Fix error in previous commitAntonio Vazquez
Related to T70116
2019-09-21GPencil: Use evaluated or original data in Sculpt for MultiframeAntonio Vazquez
The evaluated frame is only available when the frame is the active one. Related to T70116
2019-09-21GPencil: Fix unreported select not working in multiframe modeAntonio Vazquez
The selection was not working because the evaluated frame was only working for active frame, so when the evaluation was changed to use eval data instead of original data, the data was not available and the loop did not use it. Related to T70116
2019-09-21Cleanup: extra semicolon, comma warningsCampbell Barton
2019-09-21Cleanup: unused headers in editorsCampbell Barton
2019-09-21Revert "Modifiers: every modifier now copies mesh settings, fixing texture ↵Brecht Van Lommel
space issues" This reverts commit e7a514369fe700dcc5a1fe433c8f709ed9595ded, it introduces a bug in selection in edit mode. Fixes T70103: can't select extruded Vertex Ref T64739
2019-09-21Fix build error in debug build on macOSBrecht Van Lommel
NDEBUG is the standard define, not DEBUG.
2019-09-20UI: Avoid file browser directory change if path didn't changeJulian Eisel
E.g. entering the file path field and then pressing enter without any change would call an unneccesary directory change, causing flickering. So the main point of this is to avoid flickering. Without this the text field could also be used to refresh the file list, but for that we have a proper button.
2019-09-20UI: Replace big options button in file browserJulian Eisel
The big options button in the lower left is now gone, it's replaced by a smaller icon toggle button in the upper right. That means I could also remove code for the region we had just for this button. I also added versioning code for the removal, to make sure the region is removed cleanly when reading old files.
2019-09-20Fix T70109: Crash with the Data Transfer Modifier (with any 'Edge Data' option)mano-wii
The BVHTree was erroneously marked as not cached.
2019-09-20UI: Use vertical file list for "Recover Auto Save"Julian Eisel
Pablo and William agreed that the main purpose of the layout should be to list files in a way that it's easy see which files were created/modified when. Previously it was set to "Long List" to show the modification time, now the vertical list is much better suited. The time is shown anyway.
2019-09-20Fix T70112: Spot cone prevents selectionCampbell Barton
2019-09-20Remove redundant file bookmarks region toggle operatorJulian Eisel
For the default keymap we were only using the regular toolshelf operator, doing this for the industry compatible keymap too now (we could even remove it there, we don't use it in other editors). Since we "now" have proper operators for toggling regions, this specific one is totally redundant.
2019-09-20Refactor: Ensure there's always a valid file editor tool regionJulian Eisel
So far the file browser code had some lazy creation for the tool region, even though it should always be there. The only reason I can see for this is compatiblity. So I simply added versioning code to add the region in case it's not there. Now we should be able to savely assume the tool region to be there, whithout any unusual lazy-creation.
2019-09-20Rewrite file region handling for non-editor modeJulian Eisel
This makes it so that regions only needed when the file browser is invoked as an operation (e.g. Ctrl+O rather than a regular editor) are lazy created then, and removed if the file browser is changed into a regular editor then (e.g. Ctrl+O over regular file browser editor -> Cancel). That should remove some troublesome assumptions and makes versioning redundant. It also fixes the issue of an empty execute region at the bottom after cancelling a file operation invoked from a regular file browser editor.
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-09-20Fix T69097: Empty context menu for dimensionsCampbell Barton
Adjust empty menu check to skip the menu title.
2019-09-20Cleanup: discarded-qualifier warningCampbell Barton
2019-09-20Fix T69486: Reloading file in text editor marks file as modifiedPedro Reis
Differential Revision: https://developer.blender.org/D5847