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-11-07Physics baking: tag interface locked during backingSergey Sharybin
This is a variation of older hach which was setting is_rendering to truth to tell window manager to not do dependency graph update. In the nowadays reality window manager is supposed to do dependency graph update during rendering, that was the whole purpose of CoW project. This works fine for rendering, since render engines has their own dependency graphs. Physics, on the other hand, is using same dependency graph as used for the viewport, and what's worse: it modifies objects from it. For example, in a single threaded evaluation ASAN instantly catches case when cached BVH constructed by smoke is referencing looptri layer which is freed by viewport's update. Now we are locking interface, allowing only a subset of navigation operators to run. This seems to be safest way of dealing with the problem. There are following variations which we can consider doing: - Allow viewport navigation, which will require making it so draw manager does not write to the objects. A bit dangerous, since smoke simulation might in theory modify data which is also used by a draw manager. - Make physics simulation to have own dedicated dependency graph, solving all threading conflicts all together. This fixes crash when baking smoke. Steps to reproduce: - Call "Quick Smoke" - In smoke panel, click "Bake".
2018-11-07Cleanup, more meaningful and up to date commentsSergey Sharybin
2018-11-07Skip dependency graph update when interface is lockedSergey Sharybin
This is a variation of legacy dependency graph update check based on G.is_rendering. Now it is ensured, that locked interface does not tempter around with the dependency graph.
2018-11-07Cleanup, indentationSergey Sharybin
2018-11-07Fix 'Set and Use 3D Cursor' normal editing command.Howard Trickey
Was missing a return of OPERATOR_RUNNING_MODAL for that subcommand.
2018-11-07Workbench: Scale shadowing based on densityClément Foucault
This makes previewing thick smoke a bit more plausible with better shadows. The shadowing is clamped so that nothing is completely black. That said the lower bound is pretty low. This is not an option but could become one if users do not like it in all situations.
2018-11-07Workbench: Add cubic filtering for smoke simulationClément Foucault
The option is per domain and only affects the solid / xray / wireframe view. Eevee is not yet supported.
2018-11-07Eevee: Fix volumetric broken after recent changeClément Foucault
2018-11-07Fix installing Blender due to missing icons.Bastien Montagne
2018-11-07CMake: missed removing from file listCampbell Barton
2018-11-07Dopesheet: correctly use floating point threshold in ActKeyColumn tree.Alexander Gavrilov
After some thinking, since the tree itself does always use floating point numbers, it is better to use the threshold - but correctly.
2018-11-07Fix hidden action-zone interactionCampbell Barton
2018-11-07Fix for hidden regions becoming activeCampbell Barton
2018-11-07Fix redraws from non-existing scrollbarsCampbell Barton
Cursor motion was often causing redraws. Distance to scrollbars that don't exist in hidden regions caused redraws (for alpha fading). Check if scrollbars are used before calculating fade.
2018-11-07Tool System: display tooltip generation errorCampbell Barton
While this shouldn't ever happen there have been reports of tooltip creation failure - keep this until the issue is resolved.
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Cleanup: use STRPREFIX for mount point checksCampbell Barton
From D3846 by @kostex
2018-11-07Multi-Objects: MBALL_OT_select_similarHabib Gahbiche
Compared to previous implementation, the following has been changed: * Threshold: is now an absolute value. This allows a comparison with e.g. radii that are much larger than selected radius. This is also consistent with `CURVE_OT_select_similar` * Radius in world space is the average of the radius scaled in x, y and z directions * Since MetaBalls are symmetrical, rotation is only considered from 0 to π/2. So for example rotations of 90° and -90° are considered equal. This is also consistent with the way `CURVE_OT_select_similar` works. Fix/changes from committer (Dalai Felinto): * Drawing not updating after changes. (see original patch for details). Reviewers: dfelinto Differential Revision: https://developer.blender.org/D3895
2018-11-07Icons: add ops.paint.weight_sampleCampbell Barton
2018-11-07Icons: remove unused vertex paint iconsCampbell Barton
Also update names to match enum.
2018-11-07Cleanup: styleCampbell Barton
2018-11-07Multi-Objects: MBALL_OT_select_allDalai Felinto
Based on D3893 by Habib Gahbiche.
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Cleanup: use BLI_compiler_compat.h for BLI_INLINECampbell Barton
2018-11-07Cleanup: remove GPENCIL_OT_sculpt_selectCampbell Barton
This can be done via WM_OT_context_set_enum
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Multi-Objects: CURVE_OT_select_similarHabib Gahbiche
Implemented the following methods: * SIMCURHAND_TYPE * SIMCURHAND_RADIUS * SIMCURHAND_WEIGHT * SIMCURHAND_DIRECTION Limits: * DIRECTION does not support surfaces, because `BKE_nurb_bpoint_calc_normal` does not work with Nurbs of type `CU_CARDINAL`. This also didn't work prior to this patch, so we wait until surfaces are properly supported in EditMode. * Also DIRECTION should take scaling into consideration. We need our own versions of BKE_nurb_bpoint_calc_normal/bezt. * Threshold default is too large. Not sure if it's better to change the default or scale the threshold in code. Differential Revision: https://developer.blender.org/D3846 Changes from committer (Dalai Felinto): * Moved nurb_bpoint_direction_worldspace_get/bezt to functions. * Comments hinting at the mode (direction) that require scaling to be taken into account - to be addressed by patch creator in a future patch.
2018-11-07Cleanup: renmae ePaintTexture(Projective) -> 3DCampbell Barton
Matches ePaintTexture2D, less verbose.
2018-11-07Paint: paint.brush_select now supports gpencilCampbell Barton
Replace grease pencil specific brush select operator.
2018-11-07Paint: update shortcut detection for new logicCampbell Barton
2018-11-07GPU: Make node texture "Blend" parameter interactive.Clément Foucault
This parameter is only used for Box projection type.
2018-11-07Workbench: Improve volume render by removing noise using temporal AAClément Foucault
2018-11-07Workbench: Fix volumetric blending leading to corrupted render resultsClément Foucault
Use simpler premultiplied blending.
2018-11-07Workbench: Fix non transparent background in viewport renderClément Foucault
2018-11-07Eevee: Wireframe: Increase precision a bitClément Foucault
Take the full derivative and compute its length instead of using fwidth.
2018-11-07Eevee: Make Normal node interactiveClément Foucault
Before it was triggering shader recompilation. Include small cleanup/opti.
2018-11-07GPU: Fix wrong socket value structClément Foucault
This was causing bad behavior of the node Normal.
2018-11-07Eevee: Fix non normalized Normals in BSDFs and Layer WeightClément Foucault
Although the normal was normalized when evaluating the lighting, the normal is often used for other purpose. In this case using the non normalized normal maybe the source of errors.
2018-11-07GPU: Cleanup: Vectorize operations and use MADDClément Foucault
2018-11-07Eevee: Improve Hashed Alpha transparency by reducing noise sizeClément Foucault
This only affect renders and static viewport accumulation. It reduces helps reduce noise when lots of half transparent surfaces overlaps.
2018-11-07Eevee: Support monochromatic Transparent BSDF correctlyClément Foucault
This fits Cycles better even if it is only for grey scale values. This only work if the blend mode is Alpha Blend or Alpha Hashed.
2018-11-07Cleanup: naming (inconsistent paint_mode term)Campbell Barton
2018-11-07Cleanup: use BKE_brush_tool_get/set macrosCampbell Barton
Also add API call WM_toolsystem_ref_sync_from_context (was in rna_workspace_api.c)
2018-11-07Paint: bring back brush switchingCampbell Barton
Was temporarily replace with code that used the tool-system, bring back logic which cycles and toggles brushes. Tool slots are used for the initial brush, after that toggle or cycle is used.
2018-11-07Paint: fix for creating duplicate brushesCampbell Barton
Setting the tool added a brush if none was found but wasn't checking for existing brushes.
2018-11-07Paint: correct brush defaultsCampbell Barton
2018-11-07Cleanup: styleCampbell Barton
2018-11-07UI: Move pin icon to the right in the context breadcrumbs.Pablo Vazquez
Leaves more room for the actual breadcrumbs path, and it's less intrusive. Thanks Luciano for the suggestion!
2018-11-07UI: Use icons for some operators.Pablo Vazquez
* Area and Workspace duplicate. * Toggle Area Fullscreen * Operator Search * Workspace reorder to front/back (arrows help to know which direction means front/back)
2018-11-06Fix broken shortcuts in F3 'operator search' menu.Bastien Montagne
From own changes in that area... Now we also enforce handling shortcuts in case relevant drawflag of searchbutton is set. Should allow to cover all cases, hopefully.