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
2021-05-07Geometry Noes: Curve Resample NodeHans Goudey
This node generates a naturally parametarized (even length edge) poly spline version of every spline in the input. There are two modes, "Count", and "Length". These are similar to the same options for the line primitive node in end points mode. I implemented this instead of a "Sample Points" node, because for this operation it's trivial to keep the result as a curve, which is nice since it increases flexibility, and because it can make instancing simpler, i.e. using the transforms of each evaluated point rather than requiring the construction of a "rotation" attribute. Differential Revision: https://developer.blender.org/D11173
2021-05-07GPencil: New Append operatorsAntonio Vazquez
Now it's possible to append materials of one grease pencil object into another one. The operator allows active material or all materials. Also, the Layer Copy To Object has been renamed to Layer Append to Object to keep consistency and now allows to append all layers at once.
2021-05-07Geometry Nodes: Parallelize Attribute Curve Map nodeCharlie Jolly
This adds `parallel_for` to the Attribute Curve Map node to improve performance. Grain size set to 512. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D11194
2021-05-07GPencil: Add Bracket keymaps to increase/decrease brush sizeAntonio Vazquez
This add the missing keymaps. Requested by Jukien Kaspar. Differential Revision: https://developer.blender.org/D11183
2021-05-07Geometry Nodes: Add Attribute Curve Map NodeCharlie Jolly
This node has the same functionality as the color and vector curve mapping nodes in the shader editor. Here is works on every value for the selected attribute, and it can also output a float value. Other than that, the implementation is quite straightforward-- almost completely boilerplate code. Differential Revision: https://developer.blender.org/D10921
2021-05-07Cleanup: move UV element keymap items into a loopCampbell Barton
Also add explanation for non-obvious dummy key-map item.
2021-05-07Update RNA to User Manual mappingAaron Carlisle
2021-05-06Merge branch 'blender-v2.93-release'Pablo Dobarro
2021-05-06Fix T83398: Fade inactive geometry overlay option not visible depending on ↵Pablo Dobarro
the mode This option should always be available. Even if it does not affect the current object depending on its mode, it affects the rest of the geometry of the scene. The rest of the options also work this way. For example, a grease pencil object does not have face orientation, but the ovelay option is still there for the rest of the scene. Reviewed By: JulienKaspar, HooglyBoogly Maniphest Tasks: T83398 Differential Revision: https://developer.blender.org/D10215
2021-05-06Merge branch 'blender-v2.93-release'Campbell Barton
2021-05-06PlayAnim: support limiting the cache by memory instead of framesCampbell Barton
Partial fix for T81751 which exposes multiple playback performance issues. Previously the cache was limited to 30 frames, without a way to increase the cache for smooth playback with files that are slow to load. Now the animation plays back smoothly once loaded into cache. The cache limit from the system preference is used when the player is launched from Blender. A new player argument `-c <cache_limit>` was added to support this.
2021-05-05Fix T82002: ENTER does nothing when mouse cursor is over save dialog text fieldSeverin
The `file.execute` operator would early-exit because the mouse wasn't hovering the file list. Caused by 4ba9d7d71e8f. Although simpler solutions would have been possible, I decided it's better to split add a new operator for executing based on the mouse (for double-clicking files), to separate that from the window level execute operator (`file.execute`). This allows more control and we can get rid of the implicit assumption that the keymap would call `file.select` on mouse-press, and `file.execute` on double-click, for the double-click behavior to work. The cost is that we execute the file selection & activation logic twice on the double-click, but that shouldn't be an issue at all. Also removes the `need_active` property from the `file.execute` operator. That's ancient and wasn't implemented well anyway. To be clear, reason this fixes the bug is that `file.execute` works entirely with the `execute()` callback now and doesn't early-exit based on the mouse position anymore. Might trigger warnings about the `need_active` property not being found for custom keymaps. These can be ignored and the property can safely be removed from the keymap. I don't expect other keymap breakages.
2021-05-05System info: add OS version to sys_info.pyAnkit Meel
Match the output to the prefilled bug report script's output. Make the output file self-contained. Reviewed By: lichtwerk Differential Revision: https://developer.blender.org/D11144
2021-05-04GPencil: New Dilate parameter for Fill brushAntonio Vazquez
Internally, when using Fill brush a dilate of the filled area was done, but this was hardcoded to 1 pixel. In some situations, this was not enough, so now the value is accesible in the UI and can be set with different values. Also, as this value is more used than `Leak Size`, the new Dilate is on Topbar, and Leak Size has been moved to Advanced panel.
2021-05-04Docs: "File > External Data pack operator" lookup for the manualDalai Felinto
2021-05-04"File > External Data" menu improvements and cleanupDalai Felinto
All changes: * Include `file.pack_libraries` and `file.unpack_libraries` to the menu [1]. * Rename "Pack Blender Libraries" → "Pack Linked Libraries" [2]. * Rename "Unpack Blender Libraries" → "Unpack Linked Libraries" [2]. * Rename "Pack All Into .blend" → "Pack Resources" [3] * Rename "Unpack All Into Files" → "Unpack Resources" [3] * Rename "☑ Automatically Pack Into .blend" → "☑ Automatically Pack Resources" [3] * Rename "Make All Paths Relative" → "Make Paths Relative" [4] * Rename "Make All Paths Absolute" → "Make Paths Absolute" [4] * Add separators accordingly --- [1] - This was never exposed since its original commit rB16411da41e40. Now that operator not listed in menus don't show up in the search, this became even more hidden. [2] - The original name (Pack Blender Library) was not clear enough. Pose Libraries and Asset Libraries are also technically Blender libraries. [3] - The term All was misleading since it didn't include the Linked Libraries. [4] - No need to use "All". It is not used in the Report/Find Missing Files either. This commit put this in the File > External Data menu. Differential Revision: https://developer.blender.org/D11109
2021-05-03Geometry Nodes: Initial basic curve data supportHans Goudey
This patch adds initial curve support to geometry nodes. Currently there is only one node available, the "Curve to Mesh" node, T87428. However, the aim of the changes here is larger than just supporting curve data in nodes-- it also uses the opportunity to add better spline data structures, intended to replace the existing curve evaluation code. The curve code in Blender is quite old, and it's generally regarded as some of the messiest, hardest-to-understand code as well. The classes in `BKE_spline.hh` aim to be faster, more extensible, and much more easily understandable. Further explanation can be found in comments in that file. Initial builtin spline attributes are supported-- reading and writing from the `cyclic` and `resolution` attributes works with any of the attribute nodes. Also, only Z-up normal calculation is implemented at the moment, and tilts do not apply yet. **Limitations** - For now, you must bring curves into the node tree with an "Object Info" node. Changes to the curve modifier stack will come later. - Converting to a mesh is necessary to visualize the curve data. Further progress can be tracked in: T87245 Higher level design document: https://wiki.blender.org/wiki/Modules/Physics_Nodes/Projects/EverythingNodes/CurveNodes Differential Revision: https://developer.blender.org/D11091
2021-05-03Merge branch 'blender-v2.93-release'Philipp Oeser
2021-05-03Fix T87926: Transform menu has operators guaranteed to not pass poll in ↵Philipp Oeser
certain modes Reported for ops.transform.vertex_warp and ops.transform.vertex_random. Polling will check with ED_transverts_check_obedit, if we know it will fail e.g. for pose mode, we can do the same check in the UI already. Maniphest Tasks: T87926 Differential Revision: https://developer.blender.org/D11128
2021-05-03Merge branch 'blender-v2.93-release'Alexander Gavrilov
2021-05-03Minor updates to i18n spellcheck tool.Bastien Montagne
2021-05-01Python GPU: Replace a few calls of the bgl module with gpuGermano Cavalcante
Concludes these files: [x]bpy_types.py [x]operator_modal_draw.py Reviewed By: fclem Differential Revision: https://developer.blender.org/D11129
2021-04-30Documentation: Replace the bgl API in the gpu module exemplesGermano Cavalcante
2021-04-28Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-28Fix T85688: ExportHelper adds multiple file name extensionsCampbell Barton
Replace the existing extension instead of adding it.
2021-04-27Fix T87816: Sculpt curve & line stroke hides dash settingsPhilipp Oeser
These settings are used though for these strokes (see 'paint_stroke_use_dash'), should be visible in the UI as well. This was correctly added when dashing was introduced in rB15f82278d5d4 btw., but then messed up in rBfb74dcc5d69d. Maniphest Tasks: T87816 Differential Revision: https://developer.blender.org/D11096
2021-04-27Fix T87816: Sculpt curve & line stroke hides dash settingsPhilipp Oeser
These settings are used though for these strokes (see 'paint_stroke_use_dash'), should be visible in the UI as well. This was correctly added when dashing was introduced in rB15f82278d5d4 btw., but then messed up in rBfb74dcc5d69d. Maniphest Tasks: T87816 Differential Revision: https://developer.blender.org/D11096
2021-04-27Geometry Nodes: initial Attribute Transfer nodeJacques Lucke
This is a first version of an Attribute Transfer node. It only supports two modes for mapping attributes from one geometry to another for now. More options are planned for the future. Ref T87421. Differential Revision: https://developer.blender.org/D11037
2021-04-27Merge branch 'blender-v2.93-release'Aaron Carlisle
2021-04-27Update RNA/User Manual MappingsAaron Carlisle
2021-04-26LineArt: UI fixes to match the content for 2.93 manual.YimingWu
Reviewed by: Sebastian Parborg Differential Revision: https://developer.blender.org/D11089
2021-04-26Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-26DeprecationWarning fixErik Abrahamsson
This gets rid of a `DeprecationWarning` in bpy_types.py caused by invalid escape sequences. More info here: https://docs.python.org/3/library/re.html Reviewed By: mont29 Differential Revision: https://developer.blender.org/D10998
2021-04-23Modifiers: Performance Simple DeformationJagannadhan Ravi
Use multiprocessing with simple deform modifiers. Master 2.92 fps this patch 3.13 fps on Ryzen 1700X With Vega 64 GPU. 3970X: 2.85 fps -> 2.95 fps 3990X: 3.15 fps -> 3.41 fps 3995WX: 3.21 fps -> 3.38 fps Reviewed By: jbakker Differential Revision: https://developer.blender.org/D10609
2021-04-23Fix T78845: Eevee wrong material selection.Jeroen Bakker
In cases where the same node tree is used in different materials with small changes, the wrong material could be selected. Cause: Hair shaders GPU resources weren't updated and used the previous bound data. Reviewed By: fclem Differential Revision: https://developer.blender.org/D11036
2021-04-23UI: Join or Close Any Screen AreaHarley Acheson
Corner action zones allow joining any neighbors. New 'Area Close' operator. Improved Header Context Menu. Differential Revision: https://developer.blender.org/D8084 Reviewed by Campbell Barton
2021-04-22Animation: add "LocRotScaleCProp" keying setSybren A. Stüvel
Add a keying set that includes location, rotation, scale, and custom properties. The keying set is intentionally not based on the "Whole Character" keying set. Instead, it is generic enough to be used in both object and pose animation, making it possible to quickly switch between animating characters and props without switching keying sets. This is, according to @rikkert, what the Blender Studio animators need 99.9% of the time.
2021-04-22Fix: Deactivate audio settings when output is NoneJörg Müller
2021-04-20Cleanup: keying sets, move common code to mix-in classSybren A. Stüvel
Move code common to the Whole Character keying sets ("Whole Character" and "Whole Character (Selected Bones Only)" into a mix-in class. This avoids the need to use direct assignments like `poll = BUILTIN_KSI_WholeCharacter.poll`. No functional changes.
2021-04-20Cleanup: keying sets, use `self` as self-parameterSybren A. Stüvel
Use `self` as self-parameter of methods, instead of the non-standard and cryptic `ksi`. No functional changes.
2021-04-19GPencil: Add Layer Mask ordering buttonsAntonio Vazquez
Now the list of masks can be ordered as is done in Layers. This can be used to organize list and in the future refquired for new masking options.
2021-04-19Geometry Nodes: new Switch nodeEitan
This is a first iteration of a switch node. It can only switch between two inputs values based on a boolean. A more sophisticated switch node that has an integer selector will probably come later. Currently, the geometry nodes evaluator does not support lazy evaluation of individual inputs. Therefore, all inputs will be computed currently. An improvement to the evaluator will be worked on separately. Ref: T85374 Differential Revision: https://developer.blender.org/D10460
2021-04-16Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-16Fix T87555: Incorrect view transform default in startup fileHans Goudey
This was another error in rBac90c8a7743f. It turns out it's quite important to use a full build to save the file, which I didn't do then.
2021-04-16Merge branch 'blender-v2.93-release'Antonio Vazquez
2021-04-16GPencil: Remove Grease Pencil menu options in UV editorAntonio Vazquez
Differential Revision: https://developer.blender.org/D10993
2021-04-16Fix various Blender 3.0 versioning issuesRay Molenkamp
This changes the following items: - package name is now `blender-3.0.0-git.09eb04c0a865-windows64` rather than `blender-3.00.0-git.09eb04c0a865-windows64` - Fix version resource for blender.exe not building - Data directories are now `3.0\...` rather than `3.00\....` - User prefs are now in: `c:\Users\users\AppData\Roaming\Blender Foundation\Blender\3.0\` rather than: `c:\Users\users\AppData\Roaming\Blender Foundation\Blender\3.00\` - Updating startup & preferences from previous release has a special exception for 3.0 to check for 3.93 and older. See T87532 Ref D10986
2021-04-15Merge branch 'blender-v2.93-release'Antonio Vazquez
2021-04-15RNA: Silence warning when building without audaspaceDalai Felinto
`make lite` does not use audaspace, so some files will pollute the console with tons of warnings about audio values not defined. Reviewed By: nexyon, campbellbarton Differential Revision: https://developer.blender.org/D10981
2021-04-15Merge branch 'blender-v2.93-release'Hans Goudey