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-04-25Fix T63344: broken topology after sculpting with clay strips brushPablo Dobarro
Differential Revision: https://developer.blender.org/D4710
2019-04-25Fix T63859: outdated info editor descriptionBrecht Van Lommel
Contributed by EitanSomething. Differential Revision: https://developer.blender.org/D4735
2019-04-25Fix T63524: crash selecting an object in texture coordinate nodeBrecht Van Lommel
Using mat4 in a uniform buffer object was not properly supported.
2019-04-25Overlay: Mesh AnalysisJeroen Bakker
Enabling the drawing of the mesh analysis overlay. Currently the settings are part of the scene toolsettings. What makes sense, for 3d printing, but does not fit well with the per viewport blender 2.80 overlays. Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D4707
2019-04-25DynamicPaint: Remove PreviewsJeroen Bakker
Modifier previews should be implemented by a more generic system. The current system is already a hack and needed a lot of work to get it working again in 2.80 and even so that would be replaced by another system in the near future. For Vertex Colors we have a work around in place by using Workbench Vertex Colors. For Vertex Weights we loose the previewing. Not sure targetting weight is working (even for 279). Reviewed By: brecht Maniphest Tasks: T63857 Differential Revision: https://developer.blender.org/D4734
2019-04-25Outliner parenting hierarchy: Sort for children when not a-z sortingDalai Felinto
We always keep the children that are not in a collection listed in the end of the children list due to design. This way we can visually draw them with dashed vertical lines. This was already working for alphabetical sorting, however whenever sorting was disabled, we would end up with a list of children ordered regardless of their state (whether the child itself is in the collection).
2019-04-25Fix T63869: Crash in new outliner show parenting hierarchyDalai Felinto
As known as outliner parenting hierarchy take two. Implemented suggestion by Brecht Van Lommel: ``` The problem is that it's iterating over te_parent->subtree, while at the same time removing elements from it as tree_to_remove_objects_from. Further there is a linear lookup to find tree elements corresponding to a child object, which causes O(n^2) time complexity overall and so poor scaling for many objects in a collection. The more efficient solution that also fixes the crash could be: * Build a map from Object* to a list of TreeElement* matching the object. * For all objects in the tree lookup the parent in this map, and move or add tree elements as needed. ``` I removed the grouping of the children not in collection in the end of the children list when sorting was not enabled. If we think we really need it back it can be tackled separately. That said, despite due to performance reasons, I can't see why would someone not have the a-z sorting enabled. And if they do, it is not the end of the world to have interleaved children that are in the collection or not in the parent subtree.
2019-04-25Fix T63528: Alembic export always showing error on macOS, even on successBrecht Van Lommel
tellp() is not valid to check if the string stream is empty. Just get the string directly as there is no obvious efficient method to check otherwise.
2019-04-25Fix T63869: disable outliner show parent hierarchy temporarilyBrecht Van Lommel
This is likely to cause crashes in many file, so disable this feature until it is fixed.
2019-04-25Cleanup: fix compiler warningBrecht Van Lommel
2019-04-24Fix T63841: armature with X-axis mirror does not mirror bbone scalePhilipp Oeser
Reviewers: brecht Maniphest Tasks: T63841 Differential Revision: https://developer.blender.org/D4733
2019-04-24Fix T61184 linked curves with curve modifiers arent drawn correctlyClément Foucault
Force Displist to Mesh conversion if there is any modifier. This is until we find a better way to store the batches per objects. Also fix draw cache functions that were not returning final mesh edges.
2019-04-24Correct switched values in the previous commit.mano-wii
2019-04-24Fix T62701: Hair edit mode crashes on some old AMD Radeon drivers.mano-wii
The crash is related to the format, but the real reason is unknown.
2019-04-24UI: Simple confirm dialog when loading new fileJacques Lucke
I also had to make the "New" operator a submenu in the `File Context Menu`, so that you can still select the template. This partially solves T61599. Currently the confirm dialog is not shown when an already existing file is opened. Implementing that requires a bit more work and will be done in a separate patch. Reviewers: brecht Differential Revision: https://developer.blender.org/D4732
2019-04-24Refactor: allow event handlers to have a poll functionJacques Lucke
Previously only a fixed bounding box could be used. This was not flexible enough. T63193 will benefit from this refactor. Reviewers: brecht, campbellbarton
2019-04-24Outliner: Show parenting hierarchy in view layer viewDalai Felinto
If the "Object Children" filter is enabled, we nest the object children inside the object. If the child itself is not in the collection, it is grayed out, connected by a dash line, and its restriction flags and contents are not shown. If "Object Children" filter is disabled, it works as before. Note: This is not super fast, but at least we traverse the tree only once to get the children of an object. That said, there is a lot of loops going on here. Task T63526. Development notes: I could use the GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR shader, but that would mean I would need to iterate over the tree twice (once for each shader) - or do some bigger refactor. Also I could not get that shader to work. This shader expects float vertices while the current one is using integers, so converting the code would make the dash line drawing to diverge from the regular lines even further. Differential Revision: https://developer.blender.org/D4696
2019-04-24Cycles: move shader node versioning code to CBrecht Van Lommel
Shader nodes are now shared with Eevee, so makes more sense to have it in the core and not be Cycles specific. Fix T62415: issues with append/link of old Cycles settings.
2019-04-24Nodes: avoid slow and unecessary node group updates on file readBrecht Van Lommel
On file read we need to update group nodes in case the group they refer to has changed its inputs and outputs. This had O(n^2) time complexity and was updating all datablocks even if they did not change.
2019-04-24Nodes: remove group node forward compatibility with version 2.66Brecht Van Lommel
Forward compatibility with that version is already long gone, and removing it means we can avoid running some complicated code on every file read/write.
2019-04-24Nodes: better integrate node init and versioning in file readingBrecht Van Lommel
Node versioning code was added before there was a mechanism to do versioning after lib linking. Now integrate with that system and make it less of a strange exception. Node versioning is now skipped on undo, like other versioning code.
2019-04-24Fix T63566: Pop-up closes before mouse-overCampbell Barton
Closely spaced buttons caused the curve clipping popup to close before the cursor could mouse-over it.
2019-04-24Refactor: Separate template selection from read_homefile operatorJacques Lucke
This is a first step towards T61599. This way the invoke function can be used for the confirm dialog in a separate patch. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D4723
2019-04-24Fix T55326: Massive slowdown when animating material in a highpoly meshSergey Sharybin
This is a dependency graph part, which is the last required bit to get the issue solved after all the rest of the work done by Clement.
2019-04-24GPencil: Disable Stroke Textures in Solid modeAntonioya
When solid mode is enabled, but Texture mode is disabled, the color of the stroke must not use the texture.
2019-04-24GPencil: Add small offset to follow the drawing path for single pointsAntonioya
The offset added allows to generate a vector to determine direction. This direction will be used when rotate the object to rotate texture. The solution is not 100% perfect, but it's far better that having an unpredictable rotation.
2019-04-24Fix tool settings showing in the top-barCampbell Barton
Each spaces top-bar wasn't showing it's own active tool, Remove RNA access to the workspaces tool since using it is error prone. Eventually this should be completely removed.
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-24Haiku: build fixCampbell Barton
D4693 by @miqlas
2019-04-24Fix T63822: Sidebar tabs active area dead-zone #2Campbell Barton
Take the entire gutter used for panel tabs into account. Introduced in recent fix for T61554
2019-04-23Fix T63822: Sidebar tabs active area dead-zoneCampbell Barton
Clip on one axis for aligned regions to avoid tabs being clipped out. Introduced in recent fix for T61554
2019-04-23Fix action zones getting out of sync with panel sizeCampbell Barton
Change to recent fix for T61554
2019-04-23Cleanup: correct rst string literalsCampbell Barton
2019-04-23Fix T63178 Eevee animation render crashClément Foucault
If image buffer is not loaded and blender attempts to reload it (during `BKE_image_acquire_ibuf`) over and over for each frame rendered. When attempting this reload, image_load_image_file is calling `BKE_image_free_buffers` and tag the Image to the (GPU) image_free_queue (because this run on the rendering thread). If the main thread decide to redraw the UI and go through `GPU_free_unused_buffers` they all get deleted and if that happens before the rendering thread use them ... segfault. If I replace the environment textures with correct ones (the file does not seems to contain them), there is no crash when rendering. I used a list of GPUTexture from blender Image to increase and decrease the reference counter correctly. This add very little memory and computation overhead.
2019-04-23GPUBuffers: Fix wrong assertClément Foucault
For good this time... forgot to commit it in the previous commit rBedde48f57844.
2019-04-23Fix T63813: crash saving images on WindowsBrecht Van Lommel
The danger of void pointers...
2019-04-23Outliner draw: Fix using wrong flag to tag object on visibility changeDalai Felinto
Note: This doesn't fix any bug we know of, but it is the correct flag to tag in this case.
2019-04-23Depsgraph: make the dependency cycle report more readable.Alexander Gavrilov
Since it is a continuous cycle, there's no need to repeat the name of the previous bone. Also, dot is a common symbol in object and bone names, so use '/' instead for node nesting.
2019-04-23GPencil: Add support for gradient to Box strokesAntonioya
Before this options was only available to Dots mode.
2019-04-23Space_node: Add draw backdrop callback.Ray Molenkamp
Add a callback to allow custom node editors to draw their own backdrop. Differential Revision: https://developer.blender.org/D4709 Reviewed by: JacquesLucke
2019-04-23Depsgraph: fix standard IK target dependencies.Alexander Gavrilov
Targeting a different object always requires its transform, and normally dependencies should go to the solver node. ITASC is quite broken so special case it until fixed.
2019-04-23Fix T63816: Crash opening file with multiple view layersSergey Sharybin
Dependency graph will not be crated for view layers which were never visible.
2019-04-23B-Bones: remove hard limits on curve/roll/scale/ease properties.Alexander Gavrilov
I don't see any reasons why soft limits wouldn't be enough here.
2019-04-23Cleanup: rename the curveInX etc bbone DNA fields to curve_in_x etc.Alexander Gavrilov
2019-04-23B-Bones: split the Scale In/Out properties into X and Y values.Alexander Gavrilov
As far as I can tell, there is no technical reason why the B-Bone segment thickness scaling can't be separated into two axes. The only downside is the increase in complexity of the B-Bone settings, but this is inevitable due to the increase in flexibility. Updating the file is somewhat complicated though, because F-Curves and drivers have to be duplicated and updated to the new names. Reviewers: campbellbarton Subscribers: icappiello, jpbouza Differential Revision: https://developer.blender.org/D4716
2019-04-23Fix T63233: Set default blur kernel radius to 2.Jacques Lucke
Reviewers: jbakker Differential Revision: https://developer.blender.org/D4722
2019-04-23Cleanup: Fix comment for ImBuf->encodedbufferJacques Lucke
2019-04-23Workbench: Support Active Vertex ColorJeroen Bakker
Currently it is not possible to view the vertex colors of an object. To optimize the workflow, workbench will need to support Vertex Colors. The Vertex Colors is a new option in `shading->color_type`. When objects do not have vertex color, the objects will be rendered with the `V3D_SHADING_OBJECT_COLOR`. In order to support vertex colors in workbench the current texture/solid shading structure is migrated to a primary shaders and fallback shaders. Fix: T57000 Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D4694
2019-04-23Fix T63649: Action group expand setting for graph editor missingJacques Lucke
I did not rename the other property to `show_expanded_dopesheet` yet (as suggested in the report), because: * Would break compatibility (haven't found any addon using it though). * I'm not sure if this really only affects the dopesheet.
2019-04-23Cleanup: minor changes to scrollbar checksCampbell Barton
Remove some redundant comments & declare vars in for loops.