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-07Cleanup: `make format`Dalai Felinto
Remember to run `make format` after cleanups/renames/...
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: 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-07Fix crash when linking.Bastien Montagne
Stupid mistake in yesterday's own refactoring of readfile code...
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-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-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
2020-02-06Merge branch 'blender-v2.82-release'Antonio Vazquez
2020-02-06Cleanup: Fix commentAntonio Vazquez
2020-02-06Merge branch 'blender-v2.82-release'Antonio Vazquez
2020-02-06Fix T64058: GPencil - Ensure object mode if linking from a libraryAntonio Vazquez
If the linked or append grease pencil object was added to the scene, the original file could have the datablock status in a different mode, so it's necessary to be sure is in object mode. Differential Revision: https://developer.blender.org/D6759
2020-02-06Lattice Modifier add invert vgroup optionCody Winchester
Adds the invert vertex group option to the Lattice modifier. Adds a short flag and modifies the existing char padding for the correct amount. Adds a .invert_vgroup to the LatticeDeformUserdata. Passes the flag into the lattice_deform_verts function where the weights around found and used. For the other calls of lattice_deform_verts function they pass in NULL for the flag in the same way they pass NULL for the vgroup name. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6747
2020-02-06Fix T73620: Diameter Scale was calles 'Radius'William Reynish
This was left over from when the other properties were renamed.
2020-02-06Merge branch 'blender-v2.82-release'Jacques Lucke
2020-02-06Fix T68076: Color Correction node generates NaNJacques Lucke
This is the same fix that the `GammaOperation` uses. Differential Revision: https://developer.blender.org/D6696 Reviewers: brecht
2020-02-06Code_Cleanup_Day/Windows: Clean-up windows API Level.Ray Molenkamp
Not sure when this happened but apparently the lower bar is now windows 7 [1] This patch bumps to API version to 0x0601 (Win7) and cleans up any uses that worked around the globally set API version. [1] https://www.blender.org/download/requirements/ Reviewed By: brecht Differential Revision: https://developer.blender.org/D6758
2020-02-06Merge branch 'blender-v2.82-release'Lukas Stockner
2020-02-06Fix unreported: View All in the Image Editor ignores UDIM tilesLukas Stockner
Thanks to @dfelinto for spotting this!
2020-02-06Fix unreported: Trying to create invalid UDIM tiles failed without errorLukas Stockner
Thanks to @dfelinto for spotting this!
2020-02-06Merge branch 'blender-v2.82-release'mano-wii
2020-02-06Fix T69776: Error with complex Eevee noise texture in some driversPatrick Bender
Apparently the compiled shader bump into some register limit and the compiler instead of giving an error, does something incorrectly. Differential Revision: https://developer.blender.org/D6759
2020-02-05Merge branch 'blender-v2.82-release'Clément Foucault
2020-02-05Fix T73127 EEVEE: Reflection plane not visible in lookdev without scene worldClément Foucault
2020-02-05Fix T73517 Overlay: Edit Mode: X-Ray does not work if xray is equal to 1Clément Foucault
2020-02-05Fix T66802: Edge Slide: Unpredictable direction of the edge loop when it is ↵mano-wii
fully occluded When an edge loop is fully occluded the direction of movement is not calculated resulting in unpredictable behavior. So always calculate the direction of the groups of edge loops but continue preventing occluded edges from affecting `mval_dir` (global) value. Differential Revision: https://developer.blender.org/D5247
2020-02-05Transform: Optimize edge slidemano-wii
The current edge slide is executed in this sequence: - traverses all edges to find the ones selected, - traverses each vertex of the selected edges, - traverses each linked edge of the vertex to finally execute the code. However the list of vertices that are part of selected edges are already stored in `EdgeSlideData` through the `TransDataEdgeSlideVert *sv;` member. Therefore, the code can be simplified as follows: - traverses all `sv` in `EdgeSlideData`, - get the `sv->v` vertex to finally execute the code. Differential Revision: https://developer.blender.org/D5277
2020-02-05Fix T69834 Edit Mesh: Multi-object edit crash when an instance is hiddenClément Foucault
This was caused by a missing tag of the mesh datablock.
2020-02-05Fix T70121 EEVEE/GPencil: Curves cause crash when using background renderingClément Foucault
This was caused by a faulty initialization of cache->surf_per_mat which should have been empty.
2020-02-05Refactor readfile's liblink code.Bastien Montagne
Liblink specific ID type function was so far running a loop over all IDs of relevant type, unlike almost any other 'ID-callback-like' functions in Blender, which usually let the looping controll to calling code. The latter approach is more convinient when one want to add generic (i.e. type-agnostic) code, since it typically only has to change code in one place (caller function) instead of tens of places (all the callback functions). This commit also changes/sanitizes a few things that had nothing to do in main liblink code, like mesh conversion from tessfaces to polys (which can be done in after-linking versionning code), or scenes' cycles detection/check regarding background 'set' scenes. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6727