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-04-17Task: Separate Finalize into Reduce And FreeJeroen Bakker
In preparation of TBB we need to split the finalize function into reduce and free. Reduce is used to combine results and free for freeing any allocated memory. The reduce function is called to join user data chunk into another, to reduce the result to the original userdata_chunk memory. These functions should have no side effects so that they can be run on any thread. The free functions should free data created during execution (TaskParallelRangeFunc). Original patch by Brecht van Lommel {rB61f49db843cf5095203112226ae386f301be1e1a}. Reviewed By: Brecht van Lommel, Bastien Montagne Differential Revision: https://developer.blender.org/D7394
2020-04-17Merge branch 'blender-v2.83-release'Bastien Montagne
Conflicts: source/blender/makesdna/DNA_userdef_types.h source/blender/makesrna/intern/rna_userdef.c
2020-04-17Enable new undo code by default.Bastien Montagne
Note that given how experimental is working currently, I had to rename and inverse the effect of the experimental undo flag, which will now instead activate legacy code when set.
2020-04-17Merge branch 'blender-v2.83-release'Campbell Barton
2020-04-17Fix normal smoothing for light positioning gizmoCampbell Barton
2020-04-17Merge branch 'blender-v2.83-release'Campbell Barton
2020-04-17Fix T75794: Light point gizmo translate jumpsCampbell Barton
Holding Ctrl while dragging the light point gizmo would use uninitialized stack memory if the normal had not been initialized by a surface. Now holding Ctrl can be used to drag, even when there is no surface to orient to.
2020-04-17Merge branch 'blender-v2.83-release'Campbell Barton
2020-04-17Fix T75796: Misaligned quit dialog keymapCampbell Barton
2020-04-17GPencil: Add always empty frame when add new layerAntonio Vazquez
The dopesheet needs to have a frame to display the channel, so an empty frame is created in the current frame. See T66505 for details of why an empty channel cannot be displayed.
2020-04-17UI: support A-Z accelerator keys for pie menusCampbell Barton
Converting menus to PIE's was removing convenient key accelerators.
2020-04-17Fix toggling quad-view loosing 3D view clippingCampbell Barton
2020-04-17Cleanup: comments for ui_draw_menu_item & correct argument nameCampbell Barton
2020-04-17Cleanup: use colon after doxygen parameters, spellingCampbell Barton
2020-04-16GPencil: Add always empty frame when add new layerAntonio Vazquez
The dopesheet needs to have a frame to display the channel, so an empty frame is created in the current frame. See T66505 for details of why an empty channel cannot be displayed.
2020-04-16UI: Remove old hacks for dynamic scrollbar hidingJulian Eisel
Although we still dynamically hide scrollbars, they don't change the region size anymore. They are simply drawn on top of the region content. Because of this, some hacks introduced by fa28e50ac2a7 are no longer necessary. Without these hacks, the scrollbar visibility is evaluated much more often (cheap operation) which should be more reliable and possibly solve some glitches. Also replaces integers passed as booleans. Fixes T75782.
2020-04-16Merge branch 'blender-v2.83-release'Philipp Oeser
2020-04-16Fix T75675: Unlinking [with setting users to zero] not clearingPhilipp Oeser
LIB_TAG_EXTRAUSER_SET flag For example in the Image Editor, an assert would be triggered after unlinking an image [with setting users to zero] and then setting the image for the Image Editor again. Whenever we set an Image for Image Editor, the Image ID is flagged LIB_TAG_EXTRAUSER_SET, when we unlink [with setting users to zero] this flag was not cleared. quote @mont29: "a proper fix would be to move this to modern code, and actually delete the ID..." but that is for later. Maniphest Tasks: T75675 Differential Revision: https://developer.blender.org/D7452
2020-04-16Merge branch 'blender-v2.83-release'Bastien Montagne
2020-04-16Fix T75680: Nodegroup user count increased when file saved in edit group mode.Bastien Montagne
This editor's code was a bit schizophrenic, some parts considering its nodetree usages as real refcounted ones, others, as shallow 'user one' ones... Editors should not be real ID users anyway, unless there are *very* good reasons for it, so swich it to fully 'shallow' usage now.
2020-04-16UI: Move node socket icons to the left of node input buttonsJulian Eisel
Node input buttons (e.g. in the material properties) used to draw their icons on the right of the buttons. However since they represent inputs, it makes more sense conceptually to have them on the left. Further, we might want to add the usual decorator buttons (to control keyframes or display other states) to the material properties as well. Having two circle icons next to each other would be confusing. Differential Revision: https://developer.blender.org/D7409 Reviewed by: Brecht Van Lommel, William Reynish
2020-04-16UI: Draw real node sockets for node input buttonsJulian Eisel
For buttons representing node inputs (e.g. in the material properties) rather than drawing some generic socket icon, the actual sockets are drawn now. That includes color, shape and the selection outline. This should make it easier to understand what these buttons relate to. Screenshots: {F8469252}, {F8469248} (The left alignment will be done in a follow-up commit.) Differential Revision: https://developer.blender.org/D7409 Reviewed by: Brecht Van Lommel, Clément Foucault, William Reynish
2020-04-16Merge branch 'blender-v2.83-release'Philipp Oeser
2020-04-16Fix (unreported) Image Editor UI drawing too darkPhilipp Oeser
Caused by rBf0221ff6674f. Only draw the Image buffer itself in display space. Differential Revision: https://developer.blender.org/D7449
2020-04-16Cleanup: Deduplicate getting node tree from idJacques Lucke
Differential Revision: https://developer.blender.org/D7438 Reviewers: mont29
2020-04-16Theme: adjust active UV face color in the themeCampbell Barton
This color had it's alpha reduced in the drawing code, as the active face is no longer stippled. Now the color is used from the theme without adjusting the alpha.
2020-04-16UV: support changing the opacity of the UV overlayCampbell Barton
Add this option as it's useful to adjust how much UV's cover the image when UV mapping. D5348 by @EitanSomething with edits
2020-04-16Fix T75620: Lamp gizmo flips direction for negative scaled objectsCampbell Barton
2020-04-16UI: disable shade flat/smooth in sculpt modeCampbell Barton
2020-04-16Object: only apply smooth/flat to the active object in paint modesCampbell Barton
Also some minor improvements: - Only run once per object data instance. - Correction for mesh smooth flag being used on curves. - Move curve operation into utility function.
2020-04-16Cleanup: remove unused scene argumentCampbell Barton
2020-04-16Cleanup: use sections for object_edit.cCampbell Barton
2020-04-16Logging: log warnings which had been disabled since 2.4xCampbell Barton
2020-04-16Merge branch 'blender-v2.83-release'Clément Foucault
2020-04-16Fix T75750 Image Editor: Rendered result is much brighter than in viewportClément Foucault
2020-04-15UI: Draw subpanels on top while draggingHans Goudey
Currently the background of a panel is drawn on top of its subpanels when it is dragged. The solution is to also "select" the subpanels so they are drawn on top in UI_panels_draw. Differential Revision: https://developer.blender.org/D7440
2020-04-15Merge branch 'blender-v2.83-release'Philipp Oeser
2020-04-15Fix assert for Image Editor invert/resize operatorsPhilipp Oeser
Caused by rB2bf4c74130ff. For undo, the ImageUser's scene should be NULL (see D7022 for discussion). PaintTiles were already doing it beforehand in ED_image_paint_tile_push, but Image ops [scale/invert] are calling ED_image_undo_push_begin_with_image directly. Now actually set the UndoImageHandle iuser.scene to NULL (rather than asserting) ref T75675 Maniphest Tasks: T75675 Differential Revision: https://developer.blender.org/D7435
2020-04-15View3D: New tool 'Extrude, Dissolve and Intersect'Germano Cavalcante
Basically this new tool constitutes a macro that uses the parameters of the Extrude and Translate operators that were recently implemented. Thanks to @CandleComet for initial implementation. Differential Revision: https://developer.blender.org/D7222
2020-04-15Operator: Add 'use_automerge_and_split' option for TranslateGermano Cavalcante
2020-04-15Operator: Add 'use_dissolve_ortho_edges' option for ExtrudeGermano Cavalcante
2020-04-15Cleanup: unused variable, spellingCampbell Barton
2020-04-15Fix unreported Auto IK crash when using targetless IK.Sebastian Parborg
Needed to use a temporary pchan iterator to make sure that we keep track of the selected bone.
2020-04-15Fix T75649: Using "Auto IK" on FK controls with Rigify will crash Blender.Sebastian Parborg
Fixed a coding mistake when adding temp IK chains with Auto-IK. We need to use the data from the new temporary constraint.
2020-04-15Resources: Remove small splash screen image variantJulian Eisel
After the previous commit by Harley Acheson, scaling can be handled at runtime so we don't need to have two splash screen image variants anymore. Also removes the `splash_scale.sh` script used to create the down-scaled variant. Always nice to get rid of some binary files from the repository :)
2020-04-15Fix incorrect UI_SEP_CHAR checksCampbell Barton
- Menu drawing function used first instance instead of last. - Menu hash function checked for the character without first checking UI_BUT_HAS_SEP_CHAR was enabled.
2020-04-15Cleanup: missing-prototypes warningCampbell Barton
2020-04-15Fix T74881: Plane-track corner drag fails with LMB selectCampbell Barton
Fix from 8a5a306a8313 caused tweaking to fail in the clip editor, as it wasn't using same convention of other selection operators that returned the pass-through flag to allow tweaking too.
2020-04-15Fix menu search using exec instead of invoke by defaultCampbell Barton
Caused edit preferences not to open.
2020-04-15Fix menu search omitting the outliner context menuCampbell Barton
Use a regular context menu as a fallback for the outliner. If there are no specific actions for the item under the cursor, fall through to opening a regular menu. This lets menu search find the context menu items which were previously unavailable as menu search wont run operators.