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-12-02Geometry Nodes: initial scattering and geometry nodesJacques Lucke
This is the initial merge from the geometry-nodes branch. Nodes: * Attribute Math * Boolean * Edge Split * Float Compare * Object Info * Point Distribute * Point Instance * Random Attribute * Random Float * Subdivision Surface * Transform * Triangulate It includes the initial evaluation of geometry node groups in the Geometry Nodes modifier. Notes on the Generic attribute access API The API adds an indirection for attribute access. That has the following benefits: * Most code does not have to care about how an attribute is stored internally. This is mainly necessary, because we have to deal with "legacy" attributes such as vertex weights and attributes that are embedded into other structs such as vertex positions. * When reading from an attribute, we generally don't care what domain the attribute is stored on. So we want to abstract away the interpolation that that adapts attributes from one domain to another domain (this is not actually implemented yet). Other possible improvements for later iterations include: * Actually implement interpolation between domains. * Don't use inheritance for the different attribute types. A single class for read access and one for write access might be enough, because we know all the ways in which attributes are stored internally. We don't want more different internal structures in the future. On the contrary, ideally we can consolidate the different storage formats in the future to reduce the need for this indirection. * Remove the need for heap allocations when creating attribute accessors. It includes commits from: * Dalai Felinto * Hans Goudey * Jacques Lucke * Léo Depoix
2020-12-02Theme: update shader node color to match socket colorPablo Vazquez
Reviewed by Brecht Ref T82689.
2020-12-01Fix T83275: Crash with scene statics and empty scenePablo Dobarro
ob can be NULL, so it needs to be checked before accessing ob->mode Differential Revision: https://developer.blender.org/D9680
2020-11-30GPencil: New operator to reset Vertex ColorsAntonio Vazquez
This operators reset the vertex color information of the strokes. If nothing is selected, all strokes are reset. If any is selected, only selected strokes are reset. Also added a new menu Paint in Vertex Color mode. Differential Revision: https://developer.blender.org/D9647
2020-11-30Cleanup hardcoded render percentage to factor conversionMonique Dewanchand
During revision of {D8952} one of the comments was to make a function that converts the render percentage to a factor. This to avoid code duplication. However the duplicated code was already all over the compositor code. So in order to avoid this code duplication for {D8952} I propose to first cleanup the duplicated code and build patch {D8952} based on this clean up. The method that converts the render percentage to a factor is put in the CompositorContext. Why? The CompositorContext keeps DNA information like the renderdata. DNA, and thus the CompositorContext, keeps the size of the render resolution in percentage (user oriented). The compositor needs the size of the render resolution as a factor. So the CompositorContext seems like the obvious place to have this conversion method. Why not in de NodeBase? The method could've been added to the nodebase, but I wanted to keep the nodebase as clean as possible and not put simple "conversion" methods into this base class. Also I didn't really like the call flow: you'd always have to get the renderdata size from the context and then convert. Putting it in the CompositorContext avoids this extra invoke of a call. Why not in the Converter? See nodebase. And the Converter seems more like a class for "structural" and complex node tree conversions. Not the simple conversions. Reviewed By: Sergey Sharybin Differential Revision: https://developer.blender.org/D9566
2020-11-30RNA Manual Reference: UpdateAaron Carlisle
2020-11-26Transform: Improve event detection for AutoConstrainGermano Cavalcante
The event "value" is not really required since this operation works as a toogle. This change cleans and simplifies the code.
2020-11-26UI: Allow theming the alternate row color in the sequencerErik Abrahamsson
Previously, the alternate row color in the Video Sequence Editor was just a shaded version of the editor's background color. This makes it theme-able just like in the file browser and outliner, although the default color is very slightly different. Differential Revision: https://developer.blender.org/D9634
2020-11-24UI: Batch Rename Layout ImprovementsYevgeny Makarov
Improvements to the layout of the Batch Rename dialog. Differential Revision: https://developer.blender.org/D9496 Reviewed by Reviewed by Hans Goudey
2020-11-20UI: Remove excess row spacing in outliner popoverNathan Craddock
Some checkboxes had nonessential spacing between rows which made the popover taller than needed.
2020-11-20Outliner: Object state filter invert toggleNathan Craddock
This adds an invert toggle for the outliner object state filters. There are some cases where we want a filter for invertable states (Selected, Unselected) and having a single toggle to invert the filter reduces the number of separate filter types needed. This removes the "Hidden" filter which can now be replicated with an inverted "Visible" filter. Differential Revision: https://developer.blender.org/D9598
2020-11-19Cleanup: Grammar: "Allow to" vs gerundHans Goudey
In cases where "Allow" is followed by an infinitive, a noun needs to directly follow it. But it makes more sense to follow it with a gerund instead.
2020-11-18GPencil: Automerge last drawn stroke with previous strokesAntonio Vazquez
This option joins any stroke with an end near the actual stroke. Now it is not limited to the last stroke, any stroke in the same layer for the actual frame can be joined. The join can join two strokes drawing a third stroke. If the end and the start of the result stroke are very small, the stroke is changed to be cyclic automatically. There is a limit distance to join the stroke, if the distance is greater than this value, the strokes are not joined. Actually, a constant, threshold distance is used, but we could expose as a parameter in the UI in the future. The tool can be used with freehand drawing or with primitives. Note: Great part of the patch is just a refactor of the old code to make it accessible and to keep code organized. Reviewed By: mendio Maniphest Tasks: T82377 Differential Revision: https://developer.blender.org/D9440
2020-11-17LibOverride: PointCache: Add UI feedback about need to enable Disk Cache.Bastien Montagne
Note that I chose to modify the label of the main `Bake` button instead of adding an extra label line, as that would disturb the UI in a annoying way.
2020-11-17Merge branch 'blender-v2.91-release'Nathan Craddock
2020-11-17Fix wrong collection icon in outliner popoverNathan Craddock
This icon was missed in rB0633a89e1827
2020-11-16Outliner: Collection icon color tweaksNathan Craddock
The icons originally chosen for the collection colors were selected during development and had a few issues with contrast in the light theme, and the gray color was not a good choice against the default gray backgrounds. The new colors are more readable in both default Blender themes. Gray was replaced with pink. Differential Revision: https://developer.blender.org/D9504
2020-11-13GPencil: Merge GSoC curve edit modeFalk David
Differential Revision: https://developer.blender.org/D8660 This patch is the result of the GSoC 2020 "Editing Grease Pencil Strokes Using Curves" project. It adds a submode to greasepencil edit mode that allows for the transformation of greasepencil strokes using bezier curves. More information about the project can be found here: https://wiki.blender.org/wiki/User:Filedescriptor/GSoC_2020.
2020-11-13Add An Opacity Slider to Overlay WireframeJun Mizutani
This patch adds an opacity slider to the wireframe overlay. The previous wireframe in dense geometry scenes could be too dark and sometimes the user just wants an impression of the geometry during modelling. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D7622
2020-11-13UI: make add object tool experimentalCampbell Barton
Some changes here are planned which need feedback from users before declaring this ready for the next release.
2020-11-12Merge branch 'blender-v2.91-release'Brecht Van Lommel
2020-11-12Fix empty Cycles render devices panel showing in preferences on macOSBrecht Van Lommel
There is no GPU rendering support on macOS, so showing the panel only adds confusion. Also hide the panels in builds without Cycles.
2020-11-09macOS: follow system preference for natural trackpad scroll directionYevgeny Makarov
And remove Blender preference, which was expected to be set to match the system preference for correct behavior. Instead just handle this automatically. Differential Revision: https://developer.blender.org/D9402
2020-11-09Fix T82210: Animation, Bake Action cleanupSybren A. Stüvel
Make post-bake cleanup of the Bake Action operator optional, and disable by default. Previously Bake Action would do two things: - Bake the Action - Clean up the FCurves It is now possible (and even the default) to only perform the baking operation. Reviewed By: #animation_rigging, looch, sybren Maniphest Tasks: T82210 Differential Revision: https://developer.blender.org/D9453
2020-11-09Animation: move group colors switch to user preferencesSybren A. Stüvel
Move the "Show Group Colors" toggle from a per-editor option to a single user preference in the Animation preferences. The Grease Pencil animation channel side panel allows picking a channel color; this now shows a message when channel colors are disabled. The old "Show Group Colors" toggle had to be set per editor, and was on by default. This meant that disabling group colors would require an action for every file, for every editor. It is very hard to select a color that works both as bone color in the 3D Viewport (needs to be bright there) as well as the channel list (needs to be dark there), most animators turn channel list colors off. Differential Revision: https://developer.blender.org/D9391
2020-11-06Cleanup: whitespaceRichard Antalik
2020-11-06Add background rectangle option to video sequencer Text stripPaul Melis
This adds a Box option to the Text strip's style properties, plus related Box Margin value: {F9208309} When enabled the text is placed on top of a solid-filled rectangle of a chosen color, as shown below: {F9208324} When the box option is disabled the text strip works the same as it does now. When the box option is enabled the meaning of the Shadow option changes to provide a drop-shadow on the rectangle (and not on the text itself). The latter made more sense to me. The box margin is specified as a fraction of the image width. The offset of the drop-down box shadow is fixed to a specific fraction of the image width as well. I tested this feature on a movie of a couple of minutes containing dozens of text strips (all with box background), edge cases like multi-line strings and text overlapping the image edges. Reviewed By: ISS Differential Revision: https://developer.blender.org/D9468
2020-11-06UI: Tweaks to the Warning IconYevgeny Makarov
Warning Sign Alert Icon given a more rounded border. Differential Revision: https://developer.blender.org/D9443 Reviewed by Pablo Vazquez
2020-11-06Move "Camera Parent Lock" from preferences to Object RelationsHans Goudey
"Camera Parent Lock" can be useful when rigging cameras, but it is not intuitive, and has also generated a lot of confusion (bug reports). This is because it breaks the fundamental parent <-> child relationship conventions in Blender, and there is no indication that it's intended without diving into the preferences. This commit moves the setting to the object level, and exposes it in the relations panel in the property editor. It is exposed for every object type because any object type can be "View Locked" in the 3D view. The property description is also updated to reflect this change and be more specific without getting too long. In the future this could become a more general feature of the transform system, but for now it is limited to "Lock Camera to View". Differential Revision: https://developer.blender.org/D9239
2020-11-06Fix T82423: Add modifier key back into keymapRobert Guetzkow
Commit rBf5080c82dd915db6c7b9dd68a52aaaccf2600137 accidentally remove the Shift modifier key from the `AUTOCONSTRAINPLANE` shortcut. Differential Revision: https://developer.blender.org/D9480
2020-11-05Fix T82292: Set encoding for keymap export to UTF-8Robert Guetzkow
Keymaps have previously been exported with an encoding dependent on the current system locale. This caused issues when the keymap contained non-ASCII characters, for instance in a string property for an operator. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9449
2020-11-04Merge branch 'blender-v2.91-release'Richard Antalik
2020-11-04Fix T82197: Freestyle settings not visible for Workbench render engineBrecht Van Lommel
These had an effect but were not exposed in the UI.
2020-11-04UI: avoid using "loc/rot", use full words instead.Pablo Vazquez
2020-11-04Fix T82292: Set encoding for keymap export to UTF-8Robert Guetzkow
Keymaps have previously been exported with an encoding dependent on the current system locale. This caused issues when the keymap contained non-ASCII characters, for instance in a string property for an operator. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9449
2020-11-04UI: disable add-object tool for 2.91Campbell Barton
2020-11-04Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-04Fix T63495: Add torus changes size each time when unit scale != 1.0Campbell Barton
This matches behavior in WM_operator_view3d_unit_defaults.
2020-11-04Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-04Update RNA to Manual mappingAaron Carlisle
2020-11-04Cleanup: avoid back-slash line continuationsCampbell Barton
2020-11-04UI: Swap order of "Fade Inactive Geometry" in overlays popoverJesse Y
This simply makes the panel a bit nicer given how things are layed out-- the items with larger visual weight are grouped at the top. Differential Revision: https://developer.blender.org/D9366
2020-11-03GPencil: Reorganize Cleanup menuAntonio Vazquez
Reviewed by @mendio
2020-11-03GPencil: Add Recalculate Geometry operator to Cleanup menuAntonio Vazquez
This operators was only accesible using the search menu.
2020-11-03VSE: Media transform redesignRichard Antalik
This patch changes behavior of strip transform and crop feature. Purpose of this change is to allow display arbitrary portion of input image, simplify user interface and workflow. Offset and Crop values in old files are converted in versioning. Offset animation is also converted. Crop animation and animation of crop or offset enable properties is not taken into account Changes in behavior and interface: - If image is added to timeline it is scaled to fit inside preview area while maintaining aspect ratio. Image is centered. This is considered as a baseline for further transformation. - Scale and rotation was added, so it is possible to transform image at it's original resolution. - Crop will not affect image transformation (does not move image). - Values of Crop and Transform Position are in pixels, these values are corrected if preview is fraction of project resolution. - Transform and Mirror panel has been removed and new Transform panel and Crop panel is moved to Adjust panel. Mirror is now part of new Transform panel. Technical changes: - Preprocessing stage must work on duplicated image, because original is cached. Previously Crop and Offset could run at once and required only one duplication of image. This is not the case with new algorithms, so duplication on demand is implemented. Transformation can read original image and will output new image that is safe to modify. It should be possible to add crop step to transform algorithm, so that Crop won't require previous duplication though. - Use Crop and Use Translation checkboxes were removed. Individual values are compared to default values to check if image needs to be processed. In case of transform this will be done also if resolution of source. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8393
2020-11-02Revert "VSE: Media transform redesign"Richard Antalik
This reverts commit 0277579b2850f0ba097741ca22eb8ae9ccd9bcea. This commit caused build errors on Linux.
2020-11-02VSE: Media transform redesignRichard Antalik
This patch changes behavior of strip transform and crop feature. Purpose of this change is to allow display arbitrary portion of input image, simplify user interface and workflow. Offset and Crop values in old files are converted in versioning. Offset animation is also converted. Crop animation and animation of crop or offset enable properties is not taken into account Changes in behavior and interface: - If image is added to timeline it is scaled to fit inside preview area while maintaining aspect ratio. Image is centered. This is considered as a baseline for further transformation. - Scale and rotation was added, so it is possible to transform image at it's original resolution. - Crop will not affect image transformation (does not move image). - Values of Crop and Transform Position are in pixels, these values are corrected if preview is fraction of project resolution. - Transform and Mirror panel has been removed and new Transform panel and Crop panel is moved to Adjust panel. Mirror is now part of new Transform panel. Technical changes: - Preprocessing stage must work on duplicated image, because original is cached. Previously Crop and Offset could run at once and required only one duplication of image. This is not the case with new algorithms, so duplication on demand is implemented. Transformation can read original image and will output new image that is safe to modify. It should be possible to add crop step to transform algorithm, so that Crop won't require previous duplication though. - Use Crop and Use Translation checkboxes were removed. Individual values are compared to default values to check if image needs to be processed. In case of transform this will be done also if resolution of source. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8393
2020-11-02Grease Pencil UI code: use `row` for rows in the UISybren A. Stüvel
Rename `col` to `row` when it's actually a row (and not a column). No functional changes.
2020-11-02UI: Simplify some tool icon geometryHans Goudey
Removing interior vertices can remove some complexity from the final exports. Also improved the topology slightly in some cases.
2020-11-02Fix incorrect colors in grease pencil strength tool iconHans Goudey