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-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup/Refactor: move Main stuff into BKE's new main.c file (and header).Bastien Montagne
We already had a BKE_main.h header, no reason not to put there Main-specific functions, BKE_library has already more than enough to handle with IDs and library management!
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-11-07Fix dpesgraph wrongly refcounting NLA strip actions when duplicating IDs.Bastien Montagne
NLA strips are users of their action, so we need to pass along ID management flags. This commit also cleans up a bit things by passing along ID_CREATE/COPY flags instead of dummy booleans...
2018-11-07Cycles: Fixed BVH UI options enabling/disabling when Embree is enabled.Stefan Werner
2018-11-07Merge branch 'master' into blender2.8Stefan Werner
2018-11-07install_deps: Added optional build of Embree to install_deps.sh, turned off ↵Stefan Werner
by default.
2018-11-07NLA: use animsys_write_orig_anim_rna when applying NLA stack results.Alexander Gavrilov
Without this keyframing on top of an NLA stack is quite weirdly broken.
2018-11-07Depsgraph: add proper handling of actions contained in NLA strips.Alexander Gavrilov
2018-11-07Py API Docs: improve 2D image exampleJacques Lucke
2018-11-07GP: Show all objects sharing data in edit modesAntonioya
Only need hide particle objects
2018-11-07Py API Docs: show gpu_extras moduleJacques Lucke
2018-11-07Cycles: Rearranged macros in kernel_types.h to fix Embree build.Stefan Werner
2018-11-07Depsgraph: Ensure dependency cycle does not clear runtime memorySergey Sharybin
If there was a dependency cycle involved, it was possible that pchan array will be freed before all bones are evaluated. Now clear is done in a dedicated node, which is never a part of dependency cycle.
2018-11-07Merge branch 'master' into blender2.8Brecht Van Lommel
2018-11-07Fix T57390: properties editor crash creating new scene in some cases.Brecht Van Lommel
2018-11-07Fix build with OSL, remove unneeded file after Embree changes.Brecht Van Lommel
2018-11-07Merge branch 'master' into blender2.8Stefan Werner
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-07Cycles: Fixed a warning.Stefan Werner
2018-11-07Cycles: Fixed OpenCL render after the Embree checkin.Stefan Werner
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-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
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.