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-08-12Clenaup: Deduplicate cloth collision codeGermano Cavalcante
And do the clamp by vertex instead of triangle.
2020-08-12Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-12Fix (unreported) glitch when making liboverride of object from IDtemplate.Bastien Montagne
We need to ensure new override is instantiated in the scene... Reported by @Severin, thanks.
2020-08-12Cleanup: Use const for contextHans Goudey
2020-08-12UI: Category support for instanced panelsHans Goudey
This adds support for panel categories to the instanced panel system used for modifiers and others. The change is pulled from D7997 where it is needed for FCurve modifiers, but it is unused now. The change is simple and basically amounts to checking the panel category where it was overlooked before.
2020-08-12Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-12Sculpt: Multires Displacement Eraser BrushPablo Dobarro
This brush deletes displacement information of the Multires Modifier, resetting the mesh to the subdivision limit surface. This can be use to easily delete parts of the sculpt or to fix reprojection artifacts after applying a shrinkwrap. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8543
2020-08-12Merge branch 'blender-v2.90-release'Clément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_motion_blur.c
2020-08-12Fix T79718: Eevee OpenVDB render error when frames miss part of the gridsBrecht Van Lommel
2020-08-12Sculpt: Expose Edit Face Set as a toolPablo Dobarro
Previously the way to use this operations was using the shortcut Ctrl + W and Ctrl + Alt + W, which was not very discoverable and it was limiting the amount of options that can be added to the operator.Now the same functionality of the operator is available as a tool, which will make easier to add other editing operations and options without adding more entries to the keymap. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8545
2020-08-12Fix T79706: Delta Transform Animation not workingSebastian Parborg
The object "delta_" rna variables were not added to the depsgraph search and thus it would not trigger updates of the object during animation playback.
2020-08-12Fix T79706: Delta Transform Animation not workingSebastian Parborg
The object "delta_" rna variables were not added to the depsgraph search and thus it would not trigger updates of the object during animation playback.
2020-08-12Fix T79637 Motion blur gives artifacts when changing the cameraClément Foucault
DRW_render_set_time is calling RE_engine_frame_set will in turn calls BKE_scene_camera_switch_update. To workaround this, we get the original camera object at render init and get the evaluated version from it after each time change.
2020-08-12EEVEE: Motion Blur: Fix issue with batch overflowing with VBOsClément Foucault
2020-08-12EEVEE: Fix dupli recursion constantClément Foucault
2020-08-12EEVEE: Rework deformation motion blurClément Foucault
This change how motion data are indexed inside the ghash. We follow cycles closely now and use evaluated ID pointers. By removing the hack, it fixes T78561 (No Motion Blur on linked objects)
2020-08-12EEVEE: Motion Blur: Use evaluated object as key to motion dataClément Foucault
This fix issues with instanced geometry and modifiers. Since the depsgraph will duplicate the objects when they have different modifiers, the evaluated object are garanteed to be unique.
2020-08-12Cleanup: Remove explicit float casts in sculpt codePablo Dobarro
Differential Revision: https://developer.blender.org/D8553
2020-08-12Clenaup: Rename random_access_init to random_access_ensurePablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8529
2020-08-12Subdiv CCG: Cleanup, remove redundant castsSergey Sharybin
If one of the operands of a binary operator a float, integer operand gets promoted to float as well. Differential Revision: https://developer.blender.org/D8552
2020-08-12Cleanup: Use clamp_f instead of CLAMP in sculpt codePablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8528
2020-08-12Fix Sculpt Filters operator namingPablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8523
2020-08-12UI: Fix typo "subdivion" -> subdivisionPablo Vazquez
In the Multires panel, use singular Subdivision instead of Subdivisions.
2020-08-12Increase hard limit for Remesher octree depthDalai Felinto
Adding more precision to help making watertight objects to be printed. Differential Revision: https://developer.blender.org/D8551
2020-08-12Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-12LibOverride and modifiers: Add copying of linked modifiers.Bastien Montagne
It also enables copying of linked modifiers (generating new local ones).
2020-08-12Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-12Fix T79622: Mesh Filter on a locked Shape crashesPhilipp Oeser
For a locked shapekey, a SculptSession's orig_cos / deform_cos / deform_imats are not initialized (they only are when deform_modifiers_active is true -- this in turn is only true for shapekeys if they are //not// locked [and for deforming modifiers of course]) We can just update that keyblock with sculpt_update_keyblock() in case of a locked shapekey Maniphest Tasks: T79622 Differential Revision: https://developer.blender.org/D8499
2020-08-12Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-12Fix T79712: Color Changes do not record in Auto-Key ModePhilipp Oeser
Caused by rBfffba2b6530. In above commit, the buttons rnaindex [-1 for entire arrays like colors] was not used anymore for the entire function body of `ED_autokeyframe_property` (previously in `ui_but_anim_autokey`). Replacing the index with 0 (in the array case) is indeed necessary for `BKE_fcurve_find_by_rna_context_ui`, prior to rBfffba2b6530 this was taken care of by using `ui_but_get_fcurve` instead [which did this internally]. But using an index of 0 (instead of -1) for the entire function body of `ED_autokeyframe_property` fails for the array part later, namely `insert_keyframe` needs -1 here. Now just replace the index for //finding the FCurve//, but use the original for //inserting the keyframe//. Could be backported to 2.83 LTS. Reviewers: campbellbarton, sybren Subscribers:
2020-08-12Cleanup: compiler warningsBrecht Van Lommel
2020-08-12Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-12Fix UV unwrap not working with only one pinned vertexBrecht Van Lommel
Now the one vertex defines the position of the UV chart, while rotation and shape is still determined automatically. Initial patch by Willis (wlssirius). Differential Revision: https://developer.blender.org/D8484
2020-08-12Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-08-12Bump the minimum required version for 2.90Dalai Felinto
This is particular important because 2.90 will coexist with 2.83 LTS, so we should warn the users of potential loss of data when going from 2.90 to 2.83 and back. Differential Revision: https://developer.blender.org/D8488
2020-08-12Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-12Cleanup: Use proper bool type and literals for operators poll functions.Bastien Montagne
2020-08-12Fix (unreported) broken Poll function of GPencile mods and ShaderFX ↵Bastien Montagne
operators in liboverride case. Those where assuming we always get a valid modifier data from context, which is not always true... Also fix similar issue with shortcuts as reported in T79635.
2020-08-12Fix part of T79635: Disable by default operation on unknown mod from ↵Bastien Montagne
liboverride object. It is unfortunate that we cannot get active modifier from context when operator is called from a shortcut, but we'd need an event for this to work... So for now forbid any modifier operation of liboverride objects in that case.
2020-08-11Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-11Cleanup: Reduce indentation levelHans Goudey
Check the simpler case first and return early.
2020-08-11Cleanup: Remove unecessary variablesHans Goudey
2020-08-11Fix T79640: "Assign Shortcut" doesn't work for "View 2D Zoom"Philipp Oeser
'VIEW2D_OT' operators were not respected in WM_keymap_guess_opname(). This was seemingly done on purpose (see comment "Op types purposely skipped for now"), but dont really see the reason for doing so. Since the "View2D" keymap is not bound to a specific spacetype, we can still find it using WM_keymap_find_all() [and passing 0 as spacetype]. Reviewers: Severin Subscribers:
2020-08-11Cleanup: Use sizeof first in allocationsHans Goudey
2020-08-11Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-11Cleanup: Reduce indentation levelHans Goudey
Exit early if the bevel width is zero instead of putting the main function in an if statement.
2020-08-11Fix T79700: skin modifier: prevent error for vert-only meshPhilipp Oeser
Vert-only mesh is valid input for the skin modifier (displays isolated cubes), prevent error message about missing root vertex in that case. Maniphest Tasks: T79700 Differential Revision: https://developer.blender.org/D8533
2020-08-11Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-11Fix T79676: Video Sequencer image sequence strip source path breaks whenPhilipp Oeser
saving with 'Remap Relative' option Caused by rBf7386b97571e. Logic in BKE_bpath_traverse_main calls the callback multiple times [as often as there are images in the strip]. Prior to above commit, the callback was 'bpath_relative_convert_visit_cb' [this one did not have this problem - since it returned early if the path was already made relative once] After rBf7386b97571e though, the 'bpath_relative_rebase_visit_cb' is used [this one should not be entered multiple times, it would modifiy the directy again and again]. Luckily, we have a flag (BKE_BPATH_TRAVERSE_SKIP_MULTIFILE) that can be used to prevent this (this will take care of only calling the callback once in BKE_bpath_traverse_main for the VSE case) Could be backported to 2.83 I think. Maniphest Tasks: T79676 Differential Revision: https://developer.blender.org/D8536
2020-08-11Cleanup: Reduce scope of variable declarations in bmesh_bevel.cHans Goudey
This commit generally moves variable declarations to the smallest scope the variables are used in. This makes the code more readable by making it clearer when variables are used and by removing the block of variable declarations at the top of each function.