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-10-28Add a Un-Bake FCurves operatorSebastian Parborg
We already had the ability to bake fcurves but no way to convert the baked result back without using python. This patch adds and operator that is available now next to the bake operator in the drop down menu, Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6379
2020-10-28Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-28Fix T82149: Blender crash when using collection user_id remapping (python).Bastien Montagne
Not sure why Collection was the only ID for which depsgraph building did not check for potential recursion? Reviewed By: sergey Maniphest Tasks: T82149 Differential Revision: https://developer.blender.org/D9365
2020-10-28Tracking: Move optical center to lens panelSergey Sharybin
Optical center is in fact a property of lens rather than a camera body.
2020-10-28Tracking: Simplify configuration of intrinsics to refineSergey Sharybin
Previously, only predefined and limited set of intrinsics combinations could have been refined. This was caused by a bundle adjustment library used in the early days of the solver. Now it is possible to fully customize which intrinsics are to be refined during camera solving. Internally solver supports per-parameter settings but in the interface they are grouped as following: * Focal length * Optical center * Radial distortion coefficients (which includes k1, k2, k3, k4) * Tangential distortion coefficients (which includes p1, p2) Differential Revision: https://developer.blender.org/D9294
2020-10-28Libmv: Fix typo in packed intrinsicsSergey Sharybin
Was using doing an implicit cast of floating point value to boolean. Was not noticed before because the boolean value was never never used.
2020-10-28Tracking: Decouple refine settingsSergey Sharybin
Historically the refine options had a hardcoded list of possibilities. This was caused by an old bundle adjustment code which did not support all possible combinations. Now the bundle adjuster is based on Ceres solver, allowing to refine anything in any combination.
2020-10-28Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-28Revert "PyAPI: point sys.executable to the Python binary"Campbell Barton
This reverts commit 04c5471ceefb41c9e49bf7c86f07e9e7b8426bb3. This causes Blender not to start on some systems.
2020-10-28PyAPI: remove bpy.app.binary_path_pythonCampbell Barton
This is deprecated in 2.91, remove for 2.92 in favor of 'sys.executable'.
2020-10-28Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-28Fix T82049: material select button now only works for active objectCampbell Barton
Include edit-mode objects from space-properties context unless there is a pinned object. Regression caused by change in 12bc34b0b81b.
2020-10-28Cleanup: update commentsCampbell Barton
Some references to argument levels were still in comments.
2020-10-28Cleanup: update old comment for why we can't use PySys_SetArgvCampbell Barton
2020-10-28Cleanup: move WM_init & arg parsing out of if/else branchCampbell Barton
2020-10-28BLI_args: disallow zero to be used as a pass valueCampbell Barton
Introduced recently in 09139e41ed4ea. While this worked in the cases it was used, '--threads' for example was failing to parse the number when it's pass was set to 0. Increase the enum values to start at 1 & add asserts so this wont happen again.
2020-10-28Cleanup: use enum for command line argument passesCampbell Barton
2020-10-28BLI_args: refactor argument passesCampbell Barton
Avoid passing the pass argument to BLI_argsAdd, instead set this once for each group of passes. This means we can add new passes without having to bump the arguments to BLI_argsAdd.
2020-10-28Cleanup: Remove unused IDProperty functionHans Goudey
This function from 2017 came with a comment: "TODO Nuke this once its only user has been correctly converted to use generic IDmanagement" Since it is unused after rB91462fbb31ba, now is time to remove it. Differential Revision: https://developer.blender.org/D9368
2020-10-28Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-28PyAPI: point sys.executable to the Python binaryCampbell Barton
`sys.executable` is documented to be a Python interpreter or None. This was set to Blender's executable which caused the multiprocessing module to spawn new instances of Blender instead of Python on WIN32. See issue described in D7815. Deprecate 'bpy.app.binary_path_python' & warn when using. Blender's executable remains accessible via `bpy.app.binary_path`.
2020-10-28UI: Move the 'Resolve Conflict' button closer to the text data-blockYevgeny Makarov
Moves the Text Editor 'Resolve Conflict' button closer to data-block selector and with 'Question' icon. Differential Revision: https://developer.blender.org/D9266 Reviewed by Hans Goudey
2020-10-28Cleanup: Update commentHans Goudey
This comment has to be updated since it was moved from the header file to the source file.
2020-10-27Fix use after free in interface handlerHans Goudey
ASAN reported a use after free in after rB15d78ea85b602c. This commit removed a reassignment of the `data` variable here that was actually required because it may have been freed earlier in the function. This sort of error would be avoided if the same variable wasn't reused for different purposes.
2020-10-27GPencil: New parameter in Texture modifier to rotate Dot texturesAntonio Vazquez
This new parameter allows to rotate the texture of any Dot or Square stroke. Differential Revision: https://developer.blender.org/D9343
2020-10-27Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-27GPencil: Fix unreported Fill when use boundary and Visble layersAntonio Vazquez
The new option to filter the layers used by the Fill tool was not using the boundary strokes. The problem was the layers were skipped and any boundary stroke was not used. Now, the layer is not skipped, but the strokes that are not boundary are skipped.
2020-10-27git blame: add file to help ignore cleanup commitsAnkit Meel
wiki.blender.org/wiki/Tools/Git#Tips has been updated. A follow up to lists.blender.org/pipermail/bf-committers/2020-October/050698.html will be sent after commit. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D9234
2020-10-27Fix T81854: crash when undoing switch between sculpt and edit mode.Bastien Montagne
The logic of `BKE_sculpt_update_object_for_edit` was not correct. such low-level functions should typically never preform depsgraph evaluation themselves, they should be able to rely on getting a fully evaluated depsgraph and just get needed data from there. Supporting that required fixing other broken code higher in the callstack, namely: * `ED_object_sculptmode_enter_ex` was freeing evaluated data, for no valid reason it would seem. * `sculpt_undosys_step_decode` was ensuring an evaluated depsgraph **before** calling `ED_object_mode_generic_exit`, which would invalidate a lot of evaluated data. Note that it is fairly difficult to track down all code paths leading to `BKE_sculpt_update_object_for_edit`, so there may be still cases where this gets called with improperly evaluated depsgraph. Reviewed By: sergey Maniphest Tasks: T81854 Differential Revision: https://developer.blender.org/D9270
2020-10-27Merge branch 'blender-v2.91-release'Sebastian Parborg
2020-10-27Fix T81844: Change Bone Layers fails in Pose ModeSebastian Parborg
When selecting multiple layers, the redo operator might not correctly update the pose data. To make sure it is in a good state we have to ensure that the pose data is good. Reviewed By: Bastien Differential Revision: http://developer.blender.org/D9354
2020-10-27Cleanup: use over-line for doxy commentsCampbell Barton
Follow our code style for doxygen sections.
2020-10-27Revert "Cycles API: encapsulate Node socket members"Brecht Van Lommel
This reverts commit 527f8b32b32187f754e5b176db6377736f9cb8ff. It is causing motion blur test failures and crashes in some renders, reverting until this is fixed.
2020-10-27Multires: Remove simple subdivision typeSergey Sharybin
The simple subdivision as a type only causes issues like no-continuous normals across edges, inability to reliably switch the type and things like this. The new subdivision operators supports wider variety of how to add details to the model, which are more powerful than a single one-time decision on the subdivision type. The versioning code is adjusting topology converter to specify all edges as infinitely sharp. The reason for this (instead of using settings.is_simple) is because in a longer term the simple subdivision will be removed from Subsurf modifier as well, and will be replaced with more efficient bmesh-based modifier. This is finished up version of D8436. Differential Revision: https://developer.blender.org/D9350
2020-10-27Cleanup: simplify order of initialization with argument parsingCampbell Barton
Sub-systems that use directories from BKE_appdir needed to be initialized after parsing '--env-system-datafiles'. This meant the animation player needed to call IMB_init it's self. Avoid this complication by having a pass that can be used to setup the environment before Blender's resources are accessed. This reverts the workaround from 9ea345d1cf82f
2020-10-27RNA: remove duplicate of Brush.tex_paint_map_modeIvan Perevala
Use Brush.map_mode instead. Ref D9290
2020-10-27Cleanup: Use const for PointCloud variableHans Goudey
2020-10-27Cleanup: improve comment about shape keys, correct spellingCampbell Barton
2020-10-27Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-27Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-27Fix T80819: Border zoom is isn't accurate in perspective viewErik Abrahamsson
Improved user experience by using viewport focal length to calculate the new camera distance. Also resizing the border to the same aspect ratio as the window will help not zooming in more than expected. Ref D9341
2020-10-27BLI_rect: add resize_x/y functionsCampbell Barton
Without this, it's inconvenient to resize a single axis and doesn't read very well.
2020-10-27Modifier: apply modifier now works for latticeErik Abrahamsson
Ref D9337
2020-10-27Cycles API: encapsulate Node socket membersKévin Dietrich
This encapsulates Node socket members behind a set of specific methods; as such it is no longer possible to directly access Node class members from exporters and parts of Cycles. The methods are defined via the NODE_SOCKET_API macros in `graph/ node.h`, and are for getting or setting a specific socket's value, as well as querying or modifying the state of its update flag. The setters will check whether the value has changed and tag the socket as modified appropriately. This will let us know how a Node has changed and what to update, which is the first concrete step toward a more granular scene update system. Since the setters will tag the Node sockets as modified when passed different data, this patch also removes the various `modified` methods on Nodes in favor of `Node::is_modified` which checks the sockets' update flags status. Reviewed By: brecht Maniphest Tasks: T79174 Differential Revision: https://developer.blender.org/D8544
2020-10-26Sculpt/Paint: Add Paint Studio Light presetPablo Dobarro
This studio light preset is designed for color painting tasks. As color are multiplied on top of the current studio light/matcap, this should be as white as possible and with very soft speculars to avoid color distorsion while showing the volume of the mesh. Reviewed By: jbakker, JulienKaspar Differential Revision: https://developer.blender.org/D8209
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix own previous commit re testing of `BLI_rel_path`.Bastien Montagne
Windows would need its own version of those tests, for now just disabling them on that platform.
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix T81421: "Saving As..." a blend file with a Script node file path filled ↵Bastien Montagne
with 1023 symbols crashes Blender. Usual lack of protection against buffer overflows when manipulating strings. Also add some basic tests for `BLI_path_rel`.
2020-10-26Fix T81421: "Saving As..." a blend file with a Script node file path filled ↵Bastien Montagne
with 1023 symbols crashes Blender. Usual lack of protection against buffer overflows when manipulating strings. Also add some basic tests for `BLI_path_rel`.