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
2019-11-15Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-15Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-15Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-15Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-15API Docs: don't show functions in 'bpy.app.handlers'Campbell Barton
This shows the function and it's memory location, it's not useful for docs so remove it.
2019-11-15API Docs: only document built-in typesCampbell Barton
Some types were documented in bpy.types aren't accessible there. For now, disable documenting types from add-ons and some types from bl_operators, bl_ui... since these are mostly for internal use.
2019-11-15PyAPI: add class and module attributes to rna_info.InfoStructRNACampbell Barton
Module access is needed for documentation generation to exclude non built-in modules. This also fixes a bug creating references to non built-in types.
2019-11-15Docs: correct indent for to_swing_twist docstringCampbell Barton
2019-11-15Merge remote-tracking branch 'origin/blender-v2.81-release'Dalai Felinto
2019-11-15Merge branch 'blender-v2.81-release'Julian Eisel
2019-11-15Fix T70991: Maximized file browser hides file name bar on WindowsJulian Eisel
`WS_CHILD` is a different kind of child window that what we define as child window. See http://forums.codeguru.com/showthread.php?491604. Setting this style flag seems to mess things up a bit in our configuration. The name bar is actually being overlapped by the Windows task bar then. Not totally sure why this happens, but I think it's because windows with the `WS_CHILD` style are positioned relative to the parent, not the desktop (screen without taskbar). So it uses the full space available when maximized, which isn't clipped by the taskbar anymore.
2019-11-15Fix: Filebrowser saving dialog size when maximizedDalai Felinto
Reviewed By: Severin Differential Revision: https://developer.blender.org/D6260
2019-11-15Fix crash when freeing Blender after GTestsSybren A. Stüvel
This only frees brush_rng and random_tex_array when they were actually previously allocated. In a unit test (see D6246) I want to be able to partially start Blender so that I can load a blend file. To prevent memory leaks, I also want to be able to release memory, which currently requires calling `BKE_blender_free()`. This unconditionally calls `RE_texture_rng_exit()` and `BKE_brush_system_exit()`, which now crash on freeing `NULL`. This patch fixes that. Allocation (`BKE_brush_system_init()`) and freeing (`BKE_brush_system_exit()`) are done asymmetrically. The allocation functions are called from `main()` in the creator module, but the freeing is done by `BKE_blender_free()` the Window Manager. Ideally we symmetrise this and initialise Blender from outside the window manager (so that the initialisation can be done without WM and Python too), but for now I'm happy when things don't crash. Reviewed by: sergey via pair programming
2019-11-15Keymap: pressing leader key (Alt) again closes tool promptCampbell Barton
Provides a convenient way to close if the tool prompt is opened by accident.
2019-11-15Cleanup: unused argument, variable warningsCampbell Barton
2019-11-15Fix T71590: Closing file browser reopens previously closed render viewJulian Eisel
The render view window was never closed actually, just moved behind the main window. It's properly closed now. It should also behave more like expected when there already is a temporary window open (e.g. Preferences).
2019-11-14GPencil MultiStroke modifierYimingWu
This patch includes a modifiers that developed for NPR rendering. - MultiStroke modifier that generates multiple strokes around the original ones. Differential Revision: https://developer.blender.org/D5795
2019-11-14Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-14Buildbot: Explicitly disable code signer on Linux and macOSSergey Sharybin
The script requires Python 3.7 as a very minimum, and CentOS is only 3.6. On macOC there was an access to a None object, due to missing implementation of code signer on this platform.
2019-11-14Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-14Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-14Sculpt: disable undo from any UI elements in sculpt modeCampbell Barton
Causes undo push in sculpt mode, see: T71434
2019-11-14Paint: disable undo when changing the brush or it's sizeCampbell Barton
Causes undo push in sculpt mode, see: T71434
2019-11-14Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-14Fix T70211: Brush keybindings failed with non-brush tool activeCampbell Barton
2019-11-14Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-14Fix macOS using conflicting key binding Cmd-.Campbell Barton
Used for toggle origins, conflicts on macOS, use Ctrl-. instead.
2019-11-13Merge branch 'blender-v2.81-release'Pablo Dobarro
2019-11-13Sculpt: Sculpt template defaultsPablo Dobarro
This commit includes all changes listed in T71366 except for the 2 column toolbar layout. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6225
2019-11-13Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-13Force sculpting on highest multires levelSergey Sharybin
This is a workaround for T58473 to avoid likely event of ruining sculpted data. Differential Revision: https://developer.blender.org/D6244
2019-11-13Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-13Fix T71434: Sculpt lags changing brush sizeCampbell Barton
Add a check to wm.radial_control so undo steps are only added to properties that have undo enabled (as is done with number buttons).
2019-11-13Cleanup: correct mul_v4_v4fl declarationJorge Bernal
2019-11-13Cleanup: use int for operator return argumentCampbell Barton
2019-11-13Cycles: OpenCL PerformanceJeroen Bakker
When using OpenCL with Cycles the rendering time increased substantial. After doing some tests the bottleneck was found in 4d voronoi and 2d and 3d smooth voronoi. This change will hide these behind a specific compile directive so the speed will improve. AMD RX480 + BMW scene 2.80 (3:10) 2.81 (5:48) 2.81 excluding 4d voronoi+2d/3d smooth (3:50) Reviewed By: sergey Differential Revision: https://developer.blender.org/D6231
2019-11-13Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-13Fix T71503: Wrap + displace + multires + Sculpt crashSergey Sharybin
The root of the issue goes to the discontinuity between the way how mesh_calc_modifiers() and BKE_sculpt_multires_active() works. At some point detection of original data usage by a modifier got broken: the mesh_final based check is unreliable because deform-only modifiers will create mesh_final for the connectivity information. This made it so modifier stack evaluation would skip multires evaluation, but the sculpt code will assume the multires is properly applied. This change makes it an explicit check about whether there are any non-deform-only modifiers applied. Pair programming and review together with Bastien, thanks!
2019-11-13Modifiers: Correct deform-only modifiersSergey Sharybin
There was a discontinuity between how deform-only modifiers are applied for the case when result deform mesh is requested and when it is not. Namely, the input mesh will always be guaranteed to present in the former case, but not in the latter. This change makes it so input mesh to deform-only modifiers is always at consistent state. Pair programming and review together with Bastien, thanks!
2019-11-13Initial implementation of code signing routinesSergey Sharybin
This changes integrates code signing steps into a buildbot worker process. The configuration requires having a separate machine running with a shared folder access between the signing machine and worker machine. Actual signing is happening as a "POST-INSTALL" script run by CMake, which allows to sign any binary which ends up in the final bundle. Additionally, such way allows to avoid signing binaries in the build folder (if we were signing as a built process, which iwas another alternative). Such complexity is needed on platforms which are using CPack to generate final bundle: CPack runs INSTALL target into its own location, so it is useless to run signing on a folder which is considered INSTALL by the buildbot worker. There is a signing script which can be used as a standalone tool, making it possible to hook up signing for macOS's bundler. There is a dummy Linux signer implementation, which can be activated by returning True from mock_codesign in linux_code_signer.py. Main purpose of this signer is to give an ability to develop the scripts on Linux environment, without going to Windows VM. The code is based on D6036 from Nathan Letwory. Differential Revision: https://developer.blender.org/D6216
2019-11-13Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-13Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-13Add support for the TBB allocator on windows.Ray Molenkamp
The heap on windows is single threaded causing it to lag behind linux in performance in allocation heavy multithreaded scenarios, BVH building is a prime example. See https://developer.blender.org/D6218 for benchmark results for testing with the allocator enabled/disabled you can set the environment variable TBB_MALLOC_DISABLE_REPLACEMENT=1 to disable the TBB allocator. Reviewed By: @sergey Differential Revision: https://developer.blender.org/D6218
2019-11-13Fix sculpt + undo curve crashCampbell Barton
PaintCurve data ID data wasn't being remapped. Error in initial undo refactor.
2019-11-13Fix T71494: brush curve transform crash in sculpt modeCampbell Barton
Error in 309cd047ef46f
2019-11-12Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-12Safer fix for make_update.py on buildbotSergey Sharybin
Makes it so compilation doesn't fail when the SVN updating stumbles upon checkout which doesn't have correspondence in a tag, but which isn't so risky as previous change.
2019-11-12Revert "Fix issues with make_update.py when run from release branch"Sergey Sharybin
This reverts commit 8e9e58895b32afc38f856053335c9b27324c6f9e. The change broke behavior when typing `make update` from the root of the sources: tests folder wouldn't be updated anymore. Getting quite close to release now, so will revert to a safer change.
2019-11-12Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-12Fix issues with make_update.py when run from release branchSergey Sharybin
The issue was rooting to the fact that the script was iterating into every directory inside of blender.git/../lib/ and attempted to switch them to the desired path. This doesn't work in an environment where both master and release branch are built (or any environment where non-needed SVN directories are not automatically removed). This change makes it so script explicitly generates a list of directories which are required for the build. For example, the script now stores an exact folder with ABI such as win64_vc14. Only those explicitly listed directories will be updated. This allows to: - Solve compilation failure of 2.81 branch after checkout for win64_vc15 libraries has been created. - Fail compilation if actually expected tag is missing (for example, when trying to build release branch prior to libraries tag). Now, there was a confusing logic about possible .svn folder in lib_dirpath (effectively, blender.git/../lib/.svn) which is not something what is supposed to happen with the setup of buildbot we are using for quite some time now. This logic has been removed now. This change includes old-style string format(), mainly because it is not know that the buidlbot scripts are run using python3 on CentOS builder. Differential Revision: https://developer.blender.org/D6230