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
2020-02-07Fix T73625: GPencil array offset wrong whe use Scale or RotationAntonio Vazquez
This is not 100% a bug but a design change. The old method used the object origin as pivot point for Scale a nd Rotation, so when you moved the stroke in edit mode, the whole array ittems where offset because the pivot point distance changed. Now, before applying scale and rotation, the stroke is moved to object origin to keep the offset when scale or rotate, so these transformations are done in stroke local space.
2020-02-07Cleanup: Rename `BKE_library_idmap` file to `BKE_main_idmap`Bastien Montagne
Part of T72604: > Proposal: BKE_library and BKE_main API naming: prefixes conventions
2020-02-07Build optimization: Compile glew for size rather than speed with msvc.Ray Molenkamp
Glew.obj is one of the more expensive targets we have to build clocking in at 34.907 seconds. The root cause [1] is the msvc inliner is not super thrilled with the glewIsSupported supported function, this patch changes the buildflags of extern_glew to optimize for size rather than speed. Given glew is only in play at initalization time there will be no performance impact. Time to build glew.obj Before: 34.907s After : 1.961s [1] https://developercommunity.visualstudio.com/content/problem/732941/slow-compilation-of-glewc-for-visual-studio-2019-x.html Differential Revision: https://developer.blender.org/D6656 Reviewers: brecht, sergey, fclem
2020-02-07Cleanup: `make format`Dalai Felinto
Remember to run `make format` after cleanups/renames/...
2020-02-07BuildSystem/Cleanup: Fix warning behaviour regarding library dependenciesRay Molenkamp
Adding USD to a lite build fails to build due to boost errors, when you turn boost on and rebuild still boost errors, boost was silently turned off since it was not deemed needed. Once boost was forced on, it still fails due to TBB being off. This patch fixes: - The Silent disabling of boost - Add a check that USD is is not on before doing that - move the TBB checks to a central location rather than the individual platform files - Add USD to the TBB checks. Differential Revision: https://developer.blender.org/D6479 Reviewers: brecht, sybren
2020-02-07Merge branch 'blender-v2.82-release'Sebastián Barschkis
2020-02-07OpenVDB: Added missing macros in fluid wrapper fileSebastián Barschkis
These were needed to compile when WITH_FLUID=1 and WITH_OPENVDB=0.
2020-02-07Cleanup: use of 'unsigned'Campbell Barton
- Replace 'unsigned' used on it's own with 'uint'. - Replace 'unsigned const char' with 'const uchar'.
2020-02-07Cleanup: remove legacy OpenGL viewport clipping codeCampbell Barton
2020-02-07CodeCleanup: Remove unused studiolight algorithmJeroen Bakker
Code was originally added to test a different approach to calculate the irradiance buffer. The approach was just to slow so we never used it. This change will remove it from the code base
2020-02-07CodeCleanup: WorkbenchJeroen Bakker
Code was already hidden by a compile directive.
2020-02-07Cleanup: transform_convert comment and spacingmano-wii
2020-02-07Cleanup: Animation, match parameter names in declaration with implementationSybren A. Stüvel
The implementation had more descriptive parameter names, so I copied those to the declarations. No functional changes.
2020-02-07Constraint: Fix forced request of evaluated cameraSergey Sharybin
Constraint stack similarly to modifier stack is fully operate on what have been given to it, without requesting original or evaluated IDs. Validness of datablocks passed to constraint stack are to be handled on dependency graph/evaluation stream levels.
2020-02-07Cleanup: Tracking, use LISTBASE_FOREACHSergey Sharybin
Makes loops declaration shorter and cleaner.
2020-02-07Cleanup: Tracking, reduce scope of variablesSergey Sharybin
2020-02-07Cleanup: reduced indentations by returning/continuing earlySybren A. Stüvel
No functional changes.
2020-02-07Cleanup: simplify Cycles primitive attribute map storageBrecht Van Lommel
2020-02-07Cleanup: split Cycles Hair and Mesh classes, with Geometry base classBrecht Van Lommel
2020-02-07Cleanup: remove unnecessary operations in Cycles curves exportBrecht Van Lommel
Clearing and computing bounds is already done elsewhere.
2020-02-07Cleanup: split Cycles export into smaller filesBrecht Van Lommel
2020-02-07Cleanup: export particle hair as a separate Cycles objectBrecht Van Lommel
2020-02-07Cleanup: add type inheritance for Cycles nodesBrecht Van Lommel
2020-02-07Cleanup: Tracking, reduce scope of more variablesSergey Sharybin
2020-02-07Cleanup: Tracking, reduce scope of variablesSergey Sharybin
Mainly affects for() loops. The reason why loop parameter was declared outside of the loop roots back to the times when not all compilers supported C99.
2020-02-07Cleanup: `make format`Dalai Felinto
Dear developers remember to set your coding environment to use clang-format.
2020-02-07Cleanup: Remove view3d_draw_legacy.cDalai Felinto
This file was originally a placeholder for all the old functions that have not yet been ported to the new draw system. Over time all the functions that needed refactor were gone, and the functions here are still needed. While moving the functions around I removed dead code and made sure the existent comments start with a capital letter and end with a full stop.
2020-02-07Merge branch 'blender-v2.82-release'Sebastián Barschkis
2020-02-07Fluid: Fixed try/catch exception issue and unsed variable issueSebastián Barschkis
Sergey just pointed this out, fixing in it the release branch to avoid any compilation issues during the actual release. Thx!
2020-02-07Fix crash when linking.Bastien Montagne
Stupid mistake in yesterday's own refactoring of readfile code...
2020-02-07Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-07Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-07Keymap: preference to swap 3D orbit/pan actionsCampbell Barton
Requested by @pepeland for grease pencil/2D usage.
2020-02-07Keymap: preference for relative/absolute Alt-MMB navigationCampbell Barton
Original request from Hjalti was to set absolute view axis, so make this an option.
2020-02-06Merge remote-tracking branch 'origin/blender-v2.82-release'Ray Molenkamp
2020-02-06Fix: Build error on windows in bf_intern_mantaflowRay Molenkamp
bf_intern_mantaflow lacked the `-DOPENVDB_STATICLIB` define causing it to dynamically import openvdb, linked against our static libs a happy time was not had by the linker.
2020-02-06Fluid: Optimization for fluid domain obstacle boundary handlingSebastián Barschkis
This fix should especially improve liquid obstacles boundaries, i.e. help with the problem of particles sticking to the surface.
2020-02-06Fluid: Hide Advanced cache optionsSebastián Barschkis
The Manta script export should not be visible in the UI. At least not to normal users. The export feature is only useful for developers.
2020-02-06Readfile: refactor/factorize more handling of common ID data.Bastien Montagne
- Move handling of private ID data (nodetree and master_collection) under generic ID code. This shortens code a bit, but mostly avoids having to modify all type-specific callback functions if/when we have to add generic processing to IDs there. - Seriously factorize `expand_xxx` area, in the same way we were already doing in `direct_link_xxx` and `lib_link_xxx` areas. Note that this actually also fixes some bugs (at least, potential ones), like e.g. missing call to expand_id() for our beloved 'private ID' (nodetrees & co), in current master code... Differential Revision: https://developer.blender.org/D6764
2020-02-06NodeTree: Add access to the address of an ID's nodetree pointer.Bastien Montagne
2020-02-06Merge branch 'blender-v2.82-release' into masterNathan Letwory
2020-02-06Reference correct sha1s of submodulesNathan Letwory
2020-02-06OpenVDB: Fix IOError in try catch statementSebastián Barschkis
Broader exception handling for OpenVDB IO errors.
2020-02-06Fluid: Fixed slow cache loading for smoke dataSebastián Barschkis
Cache files are currently loaded via the Manta Python API. With very big caches this can slow down the viewport playback. Especially smoke simulations, which just load grids and no meshes, can suffer from this. This fix solves this problem by directly loading the cache files from disk (no Python). This fix has been in the works for some time. The developer of this patch is ready to handle any potential fall-out of this patch quickly.
2020-02-06Fluid: Removed UI locks for cache file typesSebastián Barschkis
Caches that haven't been baked yet should not be locked.
2020-02-06Particle: Added sanity in particle system removal functionSebastián Barschkis
Added a NULL check since psys_get_modifier() might also return a NULL pointer.
2020-02-06Fix (unreported) timeline missing refresh on VSE selection changePhilipp Oeser
Keyframes and channels were not updating immediately (you had to enter channel and main regions with the mouse to force a redraw). Differential Revision: https://developer.blender.org/D6762
2020-02-06Cleanup: refactor default materials and shader nodesBrecht Van Lommel
2020-02-06Smooth Modifier add invert vgroup optionCody Winchester
Adds the invert vertex group option to the smooth modifier. Setup same way as previous modifiers. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6745
2020-02-06Curve Modifier add invert vgroup optionCody Winchester
Adds the invert vertex group option to the Curve modifier. Adds a short flag and char pad to the Curve modifier DNA. Passes the flag into the curve_deform_verts function as the weight values are found there and not in the modifiers .c file. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6746