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
path: root/source
AgeCommit message (Collapse)Author
2020-05-26Curves: Implement Handles for selected points onlyAntonio Vazquez
When editing a complex curve is very annoying to have all handles at a time. Also, this is a requirement for the current GSoC Edit Grease Pencil using curves. I have seen that this improvement can be used in any other area of blender, so I have decided to publish the option in the overlay panel.. Reviewed By: fclem, #user_interface, billreynish, Severin Differential Revision: https://developer.blender.org/D7754
2020-05-26BLI_assert: prevent abort from suppressing return-type warningCampbell Barton
Recent commit deaff945d0b96 broke release builds but not debug builds, with this change the warning happens in both cases.
2020-05-26Improved Area Border Selection and DraggingHarley Acheson
Allow use of the full width of visible borders when dragging to resize areas. Differential Revision: https://developer.blender.org/D7823 Reviewed by Brecht Van Lommel
2020-05-25Calculate epsilon values for interp_weights_poly to improve accuracySebastian Parborg
interp_weights_poly_v2 would have too large epsilon values for small polygons. To solve this we now calculate the appropriate epsilon value so it can gracefully handle big and small values. To make sure there was no regression, these changes were tested with the files in T36105, T31581. Also with a surface deform modifier test file attached in the differential below. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D7772
2020-05-25GPUTexture: Make GPU_texture_clear workaround fast.Clément Foucault
This way we have a convenient way to clear individual textures.
2020-05-25Fix T76926: Crash with Full Screen file browser window preferenceJacques Lucke
Alternative fix for T75292 & T73579 (see b75ce05c3b0f), that does not cause this crash. The crash happened because cancelling the file browser removes its screen (as in bScreen). Before rBb75ce05c3b0f, the file browser event wouldn't be handled any further then. After it, it would still be passed to other areas, while the screen pointer was dangling. Now the event is only skipped for UI handlers. Reviewed by: Julian Eisel
2020-05-25Fix T73164: Undo does not always properly clear no-more-used library data.Bastien Montagne
Solution is actually very simple, and even makes existing code simpler: just write all lib IDs when storing and undo step. That way we do not have to guess which indirectly used library should be kept or not after an undo step reading.
2020-05-25Sculpt: Pose Brush Scale/Transform deform modePablo Dobarro
This is an alternative deformation brush for the Pose Brush intended quickly change the proportions of the mesh. The regular mode scales using the segment's origin as a pivot. The inverted mode drags the entire segment using the grab delta. The only difference with the regular pose brush is that it is not compatible with IK, so the option is disabled and set to 1 segment. The rest of the options should work as expected. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7374
2020-05-25UI/Physics: Show error enabling Rigid Body if compiled without BulletJulian Eisel
Would just silently fail, which is confusing. Should only impact custom builds.
2020-05-25Merge remote-tracking branch 'origin/blender-v2.83-release'Dalai Felinto
2020-05-25Revert "UI: View3D Cursor Changes"Dalai Felinto
This change is yet to be followed by a more comprehensive design proposal including: * How to differentiate the modes apart. * More clear definition of tools and the rules for their components (gizmo, cursor). * Selection as a non-tool vs drag option. This can be revisited for 2.90 with more time. For now the UI team agrees to revert this. -- This reverts commit 4aa703aa1430bc53f19e2cc7182e70db1a916f13.
2020-05-25Fix building after rBdeaff945d0b9... sic.Bastien Montagne
2020-05-25VR: Fix big performance bottleneck for simple scenesJulian Eisel
Blender's main loop puts the main thread to sleep for 5ms if no user input was received from the OS. We never want that to happen while the VR session is running, which runs on the main thread too. For simpler scenes, where the viewport already draws fast, this may have quite some impact. E.g. in my tests, the classroom scene went from ~55 to quite stable 90 FPS in solid mode (total render time as measured and averaged by Windows Mixed Reality utilities). With Eevee, it only went from 41 to 47 FPS. In complex files, there's barely a difference. E.g. less than 1 FPS increase in a Spring file (both Solid mode and Eevee).
2020-05-25Fix T76941: "Set Inverse" in Child Of constraint broken with armaturesSybren A. Stüvel
When the Child Of constraint is owned by a bone, before the constraint is run the matrix is converted from world to pose space. However, setting the inverse should also take the armature object's transform into account.
2020-05-25Merge branch 'blender-v2.83-release'Bastien Montagne
Conflicts: source/blender/blenkernel/intern/lib_id.c
2020-05-25Cleanup: ID makelocal code: remove useless and confusing debug code.Bastien Montagne
Thing is, user code should not have the responsibility to check that libquery is valid. Such checks are only source of confusion and errors as nobody will think about finding and updating them in some obscure specific area of the code...
2020-05-25Libquery: Refactor: add bmain to data passed to callback.Bastien Montagne
No reason to enforce defining own callback user data for something that controlling has already available...
2020-05-25Fix T76997: bad handling of embedded IDs in partial append.Bastien Montagne
Code dealing with embedded data was pre-existing proper generic handling of those by `BKE_library_foreach_ID_link()` - and was never updated for scene's master collection it would seem... Note that such fix/refactor is a bit risky at this point in the release cycle, but on the other end previous situation was really broken. So finger crossed. :|
2020-05-25Fix T76997: bad handling of embedded IDs in partial append.Bastien Montagne
Code dealing with embedded data was pre-existing proper generic handling of those by `BKE_library_foreach_ID_link()` - and was never updated for scene's master collection it would seem... Note that such fix/refactor is a bit risky at this point in the release cycle, but on the other end previous situation was really broken. So finger crossed. :|
2020-05-25Mesh: skip conversion from edit-mesh to mesh in edit-modeCampbell Barton
This resolves a performance regression in 2.8x where every edit-mode update performed an edit-mesh to mesh conversion. Now the conversion will be lazily initialized if/when it's required. New BKE_mesh_wrapper_* functions abstract over mesh data access. Currently only edit-mesh and regular meshes are supported. In the future sub-surface meshes may be supported too.
2020-05-25Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-25Fix autokeyframing masks not updating properlyPhilipp Oeser
Spotted while looking into T76872 Maniphest Tasks: T76872 Differential Revision: https://developer.blender.org/D7786
2020-05-25Cleanup: unused variable warningsCampbell Barton
2020-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25Fix T76990: Crash shortest path select with 'face stepping' when no faces.Bastien Montagne
Note that this sometimes gives no solution when there is a mix of edges with and without faces... But at leat this should be safe fix.
2020-05-25Task: Graph Flow Task SchedulingJeroen Bakker
Add TBB::flow graph scheduling to BLI_task. Using flow graphs, a graph of nodes (tasks) and links can be defined. Work can flow though the graph. During this process the execution of the nodes will be scheduled among the available threads. We are planning to use this to improve the threading in the draw manager. The implemented API is still limited it only supports sequential flows. Joins and buffers are not supported. We could eventually support them as part of an CPP API. These features from uses compile time templates and are hard to make a clean C-API for this. Reviewed By: Sergey Sharybin, Brecht van Lommel Differential Revision: https://developer.blender.org/D7578
2020-05-25Simulations: pass simulation data block to update functionJacques Lucke
2020-05-25Cleanup: typoJacques Lucke
2020-05-25Merge remote-tracking branch 'origin/blender-v2.83-release'Sybren A. Stüvel
2020-05-25Fix T76897: Lamp Power Not Updating from DriverSybren A. Stüvel
Lamps were not tagged with `ID_RECALC_SHADING` when they were updated from drivers. As a result, Cycles considered the lamp as unchanged. This is resolved by having a (seemingly non-functional) callback in a new `LIGHT_UPDATE` depsgraph node. This patch unconditionally adds the `LIGHT_UPDATE` node + the relation from the lamp's PARAMETERS node. Differential Revision: https://developer.blender.org/D7822 Reviewed by: brecht
2020-05-25Fix crash when converting BMesh to Mesh with shape keysSybren A. Stüvel
The `BM_mesh_bm_to_me()` function copies shape keys from the BMesh to the Mesh. However, it tries to copy the same number of shape keys as are defined on the target mesh. Since the target mesh does not necessarily have the same number of shape keys as the BMesh, this would crash if the target Mesh has more. Found while performing some tests for {D7785}. Differential Revision: https://developer.blender.org/D7818 Reviewed by: brecht
2020-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25Fix T77031: Blender as pymodule crashes when renderingCampbell Barton
No longer enforce WITH_HEADLESS when building as a Python module as it disables GPU access which is needed for rendering.
2020-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25Cleanup: make formatCampbell Barton
2020-05-24Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-24Fix(unreported): Crash on prefetching while transforming strip.Richard Antalik
While investigating T76274, I found crash scenario when playhead is near end frame and moving a strip. It is not as easy to reproduce, about 5% success rate, and it will be even harder after rB4066c921fbe5. Exact cause wasn't identified yet. I wanted to disable prefetching during modal operator execution in VSE, but currently I don't have any signalling method in place. Checking for G.moving seems to resolve this problem, but it doesn't adress root cause of bug. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7820
2020-05-24VR: Fix big performance bottleneck for simple scenesJulian Eisel
Blender's main loop puts the main thread to sleep for 5ms if no user input was received from the OS. We never want that to happen while the VR session is running, which runs on the main thread too. For simpler scenes, where the viewport already draws fast, this may have quite some impact. E.g. in my tests, the classroom scene went from ~55 to quite stable 90 FPS in solid mode (total render time as measured and averaged by Windows Mixed Reality utilities). With Eevee, it only went from 41 to 47 FPS. In complex files, there's barely a difference. E.g. less than 1 FPS increase in a Spring file (both Solid mode and Eevee).
2020-05-24Fix T77000: Preferences window can not be opened from script operatorJulian Eisel
The operators to open the Preferences, Driver Editor, or Info Log window did not work when executed from another operator or the Python console. Should work for all of these now. I considered using operator properties instead, so the position could be set by a script, with some fallback (e.g. current window center). But decided that's not really worth the boilerplate and decreased code readability. Can still be done if there's a need for it.
2020-05-24Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-24Fix T77003: GPencil Paint presets not initializatedAntonio Vazquez
In som ecases, the Paint was not ready when the brushes and palette were created. Now, first the paint is checked.
2020-05-23Merge branch 'blender-v2.83-release'Nathan Craddock
2020-05-23Fix T76578: Show bone visibility driver in outlinerNathan Craddock
Allow setting drivers and keyframes for the bone visibility restriction icon in the outliner. Before the button was a simple icon button, but it is now connected to the RNA property to show the driven or keyframed state. Also when hiding a bone from the outliner it would be deselected, but from the properties editor it would remain selected. This moves the deselection to the RNA update function to ensure the bone is always deselected. Differential Revision: https://developer.blender.org/D7825
2020-05-23Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-23GPencil: Fix unreported Noise modifier does not work in axis aligned strokesAntonio Vazquez
If the stroke is totally straight, the normal was not calculated properly.
2020-05-22Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-22Cleanup: remove unnecessary NULL testBrecht Van Lommel
2020-05-22Cleanup: silence deprecation warnings of Carbon Finder Favorites itemsAnkit
Differential Revision: https://developer.blender.org/D7655
2020-05-22Cleanup: Deduplicate codeGermano Cavalcante
2020-05-22Fix redo with local orientationGermano Cavalcante