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
2020-03-17Merge branch 'master' into temp-openxr-blendersideJulian Eisel
2020-03-17GPencil: Fix crash joining objectsAntonio Vazquez
The weights array can be NULL.
2020-03-17GPencil: Rename old color operators to materialAntonio Vazquez
The color was used in old version when palettes were used, but now all are materials
2020-03-17Fix T74762: Mantaflow: Non emmiting flow source affects simulationSebastián Barschkis
2020-03-17Fix T74322: Wrong object bundles with scaled cameraSergey Sharybin
Camera scale was not handled correctly when drawing 3d bundles for reconstructed objects (caused by normalization of the matrix).
2020-03-17Cleanup: Remove unused functionSergey Sharybin
Was introduced earlier today and did not turn out to be very useful and clear.
2020-03-17Multires: Properly support virtual modifiers for Apply BaseSergey Sharybin
The initial code from earlier from today didn't really work reliable since it is not possible to apply virtual modifiers but not the real multires one (in a situation like mesh with shapekeys and multires). New code uses less memory and has better performance for the case when there are actual modifiers leading the multires. The case when there is only multires will not be as performant as possible at this moment.
2020-03-17GPencil: Fix Parent layer not workingAntonio Vazquez
The parenting was using the old logic, but with new engine the draw is done using eval data. Fixed the depsgraph relationship missing with bones to get an update when the bone is transformed. Also fixed Snap cursor to Selected
2020-03-17Cleanup: blenkernel proper header inclusion for BKE_ocean.hRay Molenkamp
BKE_ocean.h uses the bool type without including stdbool.h counting on someone else including that before it. With D6811 enabling automatic sorting of the includes this can no longer be counted on. This changes includes stdbool.h in BKE_ocean.h so it can build without being depended on others including the right headers before it.
2020-03-17Fix T74838: fix dereferencing of NULL in sculpt_no_multires_poll when no ↵Robert Guetzkow
active object exists Fix crash when the operator search is used while no active object exists. The cause of the issue is an attempt to dereference `ob` when it is `NULL`. Therefore this patch checks the return value of `SCULPT_mode_poll()` first, to ensure that `ob` isn't `NULL`. Reviewed By: pablodp606 Maniphest Tasks: T74838 Differential Revision: https://developer.blender.org/D7156
2020-03-17Multires: Fix Apply Base when there are deform modifiersSergey Sharybin
Their effect was applied twice after hitting Apply Base since the operator was also applying deformation caused by those modifiers.
2020-03-17Multires: Add utility to create deformed base meshSergey Sharybin
The new function will use original object as a starting point and apply all enabled deformation modifiers prior to the multires.
2020-03-17Mesh: Fix applying deform modifier up to indexSergey Sharybin
The code would have break the first (deform only) modifiers once the index is reached, but it will not prevent second loop (over remaining modifiers) from run. This was applying deform modifier twice in some conditions: having single deform modifier and calculating deformed mesh up to the first modifier (index=0).
2020-03-17Mesh: Add utility to calculate deform modifier up to indexSergey Sharybin
Intention is to be used to create mesh at the state which is an input to the multires modifier.
2020-03-17Multires: Cleanup, argument naming and orderSergey Sharybin
Use full argument name. Also order arguments in the generosity order: from depsgraph (which has everything) to object (which contains multires) specific multires modifier.
2020-03-17Multires: Cleanup, remove redundant argumentSergey Sharybin
Scene can be queried from the dependency graph.
2020-03-17Make it obvious that the DRW context getters are not for general useJulian Eisel
2020-03-17Fluid: Fixes for new abort bake faster featureSebastián Barschkis
In addition to previous commit that made it possible to abort bakes faster.
2020-03-17Add experimental global undo speedup.Bastien Montagne
The feature is hidden behind an experimental option, you'll have to enable it in the preferences to try it. This feature is not yet considered fully stable, crashes may happen, as well as .blend file corruptions (very unlikely, but still possible). In a nutshell, the ideas behind this code are to: * Detect unchanged IDs across an undo step. * Reuse as much as possible existing IDs memory, even when its content did change. * Re-use existing depsgraphs instead of building new ones from scratch. * Store accumulated recalc flags, to avoid needless re-compute of things that did not change, when the ID itself is detected as modified. See T60695 and D6580 for more technical details.
2020-03-17Cleanup: rename functionMateusz Grzeliński
This function was missed in rBec471a9b1c1. Differential Revision: https://developer.blender.org/D7155
2020-03-17OverlayEngine: crash when using hidden facesJeroen Bakker
Unreported Crash. When hidden faces are active (retopology) the depth test could fail as the default framebuffers aren't set. This patch will check if we are rendering a depth only and skip the clearing of the buffer.
2020-03-17Revert "Cleanup: use doxy sections"Campbell Barton
This reverts commit 626b2bd071b334201996081b907e18d9c2dee919. Sergey prefers not to use doxy sections for this code. Revert pending a decision on T74845
2020-03-17Fluid: Abort baking jobs fasterSebastián Barschkis
With this change baking jobs will be aborted faster. The user will not have to wait for the current frame to finish baking. The bake job will exit early and discard the incomplete frame.
2020-03-17Fix error using CUDA in plug-ins on Linux/macOS, hide our CUDA symbolsBrecht Van Lommel
Better solution will be to hide all symbols by default, but this works for now.
2020-03-17Multires: Cleanup, naming, make it more consistentSergey Sharybin
The coarse mesh is an input to generic Subdiv, and exact meaning is ambiguous. The input to Multires is a base mesh, which owns CD_MDISPS.
2020-03-17Add accumulated recalc flags to IDs.Bastien Montagne
Those accumulated flags get cleared every time an undo step is written to memfile. Preliminary work for undo-speedup. Part of T60695/D6580.
2020-03-17Cleanup: minor changes.Bastien Montagne
2020-03-17Fluid: Re-dded Empty Space option in the UISebastián Barschkis
This option existed already and was just hidden in the UI. With the new fluids system though, it will only be used for rendering - and not to optimize the cache.
2020-03-17Depsgraph: Adds helpers to extract/restore despgraphs in a given Main.Bastien Montagne
Extract will steal all depsgraphs currently stored in given bmain, and restore will put them back in place, using scene and viewlayers as keys. Preliminary work for undo-speedup. Part of T60695/D6580.
2020-03-17BKE_lib_id: Add helper to swap full ID content and use proper naming.Bastien Montagne
Preliminary work for undo-speedup. Part of T60695/D6580.
2020-03-17Cleanup: rename 'centre' to 'center' in View3DCampbell Barton
2020-03-17Cleanup: sort DNA renamingCampbell Barton
2020-03-17Cleanup: use more descriptive variable name for the data-maskCampbell Barton
Make it explicit this data mask is added to the default mask.
2020-03-16Nodes: Display bl_icon of custom nodes in node headerJacques Lucke
This is D1578 by Philipp Oeser with small modifications.
2020-03-16Merge branch 'temp-openxr-ghostxr' into temp-openxr-blendersideJulian Eisel
2020-03-16Fix incorrect Face Sets when using mask extractPablo Dobarro
Mask extract modifies the topology when adding the boundary loop, so previous face sets may not be correct in the new mesh. Remove the face sets datalayer and let sculpt mode rebuild it when entering sculpt mode in the new object. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7129
2020-03-16Fix visual artifacts with partially hidden meshes and mask extractPablo Dobarro
The previous behaivour didn't make sense as sculpt mode was still active when switching to the new object, so it was rendering inconrrectly. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7130
2020-03-16Fix T74626: Wrong Face Sets overlay rendering in smooth shadingPablo Dobarro
The face set color variable needs to be declared inside of the loop in order to reset it per iteration. Reviewed By: jbakker Maniphest Tasks: T74626 Differential Revision: https://developer.blender.org/D7096
2020-03-16Update viewport rotation origin when changing Face Set visibilityPablo Dobarro
Small UX fix. When hidding everything but the active face set with H, the last stroke lotation center can be in a part of the model that is hidden, so viewport navigation becomes confusing until you start a new stroke on the visible face set. Now the viewport navigation rotation center is updated to the active vertex when using a visibility operation that uses it, so it always rotates using the visible face set as the origin. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7137
2020-03-16Fix T61234 Mirroring Grease Pencil keyframes in the Dopesheet failsSybren A. Stüvel
`ANIM_animdata_update()` did not sort grease pencil frames. A pre-existing comment stated this wouldn't be necessary as `posttrans_gpd_clean()` already does this. However, this is only applicable when the change is performed via the transform system. The mirror operator doesn't call `posttrans_gpd_clean()`, invalidating the assumption in the comment. I moved the sorting code into `BKE_gpencil_layer_frames_sort()`, which is now called from both `ANIM_animdata_update()` and `posttrans_gpd_clean()`.
2020-03-16Cleanup: Typo in commentSergey Sharybin
2020-03-16UI: fix backdrop and alignment in anim channelsSybren A. Stüvel
This patch fixes various problems of alignment and element backdrops for the animation channels drawing, mainly in the Graph editor but also for grease pencil and mask layers in the Dope Sheet. Reviewed By: billreynish, sybren Differential Revision: https://developer.blender.org/D5204
2020-03-16Workbench: Crash When Rendering With StereoJeroen Bakker
2020-03-16Cleanup: use unsigned char for UI_view2d_text_cache_addCampbell Barton
Avoids casts when used with other UI code where the color is often unsigned.
2020-03-16Cleanup: misleading memset useCampbell Barton
This call to memset relied on PassList having a single, zero sized struct member. Pass the passes array instead for readability.
2020-03-16UI: Add an Outline to the Popover ArrowsYevgeny Makarov
Reviewed By: billreynish, fclem Differential Revision: https://developer.blender.org/D5873
2020-03-16Workbench: Fix default view not reset after drawingClément Foucault
This fix jitter of overlay and GPencil. But I'm not sure this should be the responsibility of the subsequent draw engines or the responsibility of the current engine to reset the view.
2020-03-15GPencil: Reduce factor to 5 in previous commitAntonio Vazquez
10 decimals is too high
2020-03-15GPencil: Remove Keep parameter from Select Vertex ColorAntonio Vazquez
Also changed range of threshold from 0 to 10
2020-03-15Fix Blender building after recent 'cleanup'.Bastien Montagne
Caused by rB4be4c0667155. Please ensure at least affected code does still build...