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-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-10Tracking: Clarify calculation of camera matrix for object solverSergey Sharybin
It might be confusing why matrix is constructed from scratch rather than using already calculated one.
2020-02-10Tracking: Cleanup, more clear variable nameSergey Sharybin
2020-02-10Tracking: Fix usage PLACEHOLDER functionSergey Sharybin
Don't use BKE_view_layer_context_active_PLACEHOLDER which is marked as "never use this". In fact, it isn't needed to lookup for camera in the tracking function at all: camera object is always explicitly passed to it.
2020-02-10Fix T61138: Difficulty in aligning handles of Stroke of type Curvemano-wii
The user has preference to select the center point for alignment. But in this case, it was not available for selection. Also prioritizes selection of the middle point over the handles. Reviewed By: #user_interface, brecht Differential Revision: https://developer.blender.org/D6780
2020-02-10Fix T73696: Text editor scroll glitchKai Jægersen
Scrolling a short text buffer could show the cursor offset.
2020-02-10Cleanup: spellingCampbell Barton
2020-02-10Cleanup: sort file, struct listsCampbell Barton
2020-02-09VSE: Add option to select handles with box selectionRichard Antalik
Patch adds an "Handle" option to the `SEQUENCER_OT_box_select` operator, that allows to select the handles instead of whole strips. Feature is mapped to Alt key modifier A difference from the proposed design in T70730 is that covering the entire strip with the box actually selects both handles. Reviewed By: iss Differential Revision: https://developer.blender.org/D6372
2020-02-09Merge branch 'blender-v2.82-release'Sebastián Barschkis
2020-02-09Fluid: Fixes for fluid guidingSebastián Barschkis
Fluid guiding functionality was broken in the bake / read cache loop in fluid.c. Committing this to the release branch as otherwise fluid guiding would not have worked as expected (i.e. not at all).
2020-02-093D View: support axis views with axis-aligned rollCampbell Barton
Previously any of the named views could not have any roll, this commit supports roll as long as it's axis-aligned (90,180,270 deg). This is useful for snapping to views, an improvement on cebd025e02f11.
2020-02-09BLI_string_utils: add utility to join a string into a fixed bufferCampbell Barton
2020-02-093D View: check view quaternion alignment which orbitingBataev Artem
This makes auto-perspective work as expected when orbiting out of a snapped view.
2020-02-08Cleanup: remove old VSE prefetching code.Richard Antalik
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6774
2020-02-07Merge branch 'blender-v2.82-release'Sebastián Barschkis
2020-02-07Fluid: Fixed cache reading issue with larger resolution noise gridsSebastián Barschkis
Important fix that needs to go into the release. The upscaled noise cache was not read into upscaled grids.
2020-02-07Code Quality Day: Comment formatting in bmesh_bevel.cHans Goudey
2020-02-07Fix T73660: Hide envelop option for Grease Pencil weights generationAntonio Vazquez
As this feature is not supported yet, it's better to hide for grease pencil. Differential Revision: https://developer.blender.org/D6777
2020-02-07remove poll for OBJECT_OT_parent_clearPhilipp Oeser
This works on selected_editable_objects, so no active object mandatory. After deletion of the active object and using slection tools such as e.g. box select, the lack of an active object would prevent this operator from being called without good reason. Also cannot think of any other existing poll that would really make sense (Editor type, ...). ref T68975 Maniphest Tasks: T68975 Differential Revision: https://developer.blender.org/D6773
2020-02-07Cleanup: add extern "C"Jacques Lucke
2020-02-07BLI: add index_range method to some data structuresJacques Lucke
This can be used to iterate over all indices with less code.
2020-02-07Cleanup: Improve usage of extern "C"Jacques Lucke
2020-02-07Cleanup: Animation, split driver evaluation into separate functionsSybren A. Stüvel
No functional changes.
2020-02-07Cleanup: Animation, reduce indentation by reordering conditionsSybren A. Stüvel
This turns error condition checks into precondition checks, grouping the non-error functionality together towards the bottom of the function and error-handling functionality towards the top. No functional changes.
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