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-10Fix mismatch in BKE headers' multi-include safeguards naming.Bastien Montagne
Forgot to update those in recent `BKE_lib_` files renames.
2020-02-10Cleanup CLOG identifiers in BKE_lib' implementation files.Bastien Montagne
2020-02-10Merge branch 'blender-v2.82-release'Lukas Stockner
2020-02-10Fix unreported: Packing/unpacking errors don't mention tiled imagesLukas Stockner
Thanks to @dfelinto for spotting this!
2020-02-10Fix T73713: Tiled textures (UDIM) getting lost when saving the .blend but ↵Lukas Stockner
not the textures The issue here is simple, IMA_SRC_TILED was missing from a check for whether the image should be saved. Note that tiled images won't be automatically saved if they have never been saved before. For single images this is handled by packing them, but packing of tiled images isn't supported yet. However, in that case the file closing dialog will at least show a warning now instead of completely ignoring tiled images.
2020-02-10Cleanup/Refactor: Move ID deletion into its own .c file.Bastien Montagne
Having functions defined in `BKE_lib_id.h` implemented into `lib_remap.c` was confusing at best. Besides trivial code splitting and header includes cleanup, had to add a new `lib_intern.h` header for callbacks used by both remapping and deletion code.
2020-02-10BLI: add utilities for defining non-movable and non-copyable classesJacques Lucke
Structs and classes can subclass these member-free classes privately. Then they become non-movable, non-copyable or both.
2020-02-10Cleanup: Add basic doc about each `BKE_main` and `BKE_lib` files.Bastien Montagne
Including expected prefixes for functions in those files. Part of T72604.
2020-02-10Fix missed include update in recent BKE_library renaming.Bastien Montagne
2020-02-10BLI: improve various C++ data structuresJacques Lucke
The changes come from the `functions` branch, where I'm using these structures a lot. This also includes a new `BLI::Optional<T>` type, which is similar to `std::Optional<T>` which can be used when Blender starts using C++17.
2020-02-10UI: Graph Editor Show Cursor panelWilliam Reynish
Make the Graph Editor Cursor panel fit in and use the split layout. Also removed the snap buttons, since they were only a subset of the snapping possibilities, all of which are in Key > Snap anyway, and also in the context menu. Update the theme to use correct hierarchy progression like in other editors. Differential Revision: https://developer.blender.org/D6785 Reviewed by Brecht van Lommel
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