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-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-15GPencil: Avoid invisible strokes in PDF exportAntonio Vazquez
There were still some invisible strokes.
2021-04-15Cleanup: Use correct float formatAntonio 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'Antonio Vazquez
2021-04-15GPencil: Fix unreported error exporting big files in PDFAntonio Vazquez
The exporting was creating a pdf state for each stroke, but this was necessary only for strokes with opacity. Now, the state is only created when needed and remove the state variable from class. Also, avoid exporting invisible strokes.
2021-04-15Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-15Fix text in startup file python consoleHans Goudey
This was a mistake in rBac90c8a7743f6d0
2021-04-15Blender Python version string to use the new version number systemDalai Felinto
2021-04-15Merge branch 'blender-v2.93-release'Dalai Felinto
2021-04-15Blender 2.93 splascreenDalai Felinto
Credit: Erindale Woodford - youtube.com/erindale / twitter.com/erindale_xyz
2021-04-15Blender 2.93 bcon3 (beta) version bumpDalai Felinto
2021-04-15Blender 3.0 version bumpDalai Felinto
Blender 3.0 is now in bcon1 (alpha). There are likely a few places in Blender and the automated building pipeline that may fail since we are switching our versioning number system. For example, at the moment the splash and the status bar are showing 3.00.0, and it should show 3.1.0. I suspect the Python API, version used to report a bug, buildname, are all wrong too. These will be handled later.
2021-04-15Bump subversion before starting the next release cycleDalai Felinto
2021-04-15Bump subversion before starting the next release cycleDalai Felinto
2021-04-15UI: Rename itmes in point cloud add attribute menuHans Goudey
Since these were added, we decided that builtin and reserved name attributes start with a lowercase letter. We also use "id" already in a few nodes, so this change will be consistent with that.
2021-04-15GPencil: Change UI text and tooltipAntonio Vazquez
The text was not changed in the refactor and had the old text.
2021-04-15Fix T87434: spreadsheet shows same column more than onceJacques Lucke
2021-04-15Fix T87171: Update multi input socket indicesFabian Schempp
When inserting a node on top of a link, the multi input socket indices weren't updated. This fixes that and keeps the relative order of the links the same. Author: Wannes Malfait Reviewed By: Fabian Schempp Differential Revision: https://developer.blender.org/D10969
2021-04-15Geometry Nodes: refactor implicit conversionsJacques Lucke
This refactor simplifies having standalone function pointer that does a single conversion. It also speeds up implicit type conversion of attributes.
2021-04-15Fix T87356 & T87358: Small multi-input socket issuesFabian Schempp
T87356 occured because last_node_hovered_while_dragging_a_link was not set on node_link_init. The assert in T87358 failed because the sorting operation was called even if the drag link contained a link to another socket. A little one frame jump was caused because frame was refreshed after picking a link and before sorting happened. Reviewer: Hans Goudey Differential Revision: https://developer.blender.org/D10940
2021-04-15Cleanup: rename fileJacques Lucke
Internally we use the name "context (path)" instead of "breadcrumb". This was missing from a rename in the original patch.
2021-04-15Cleanup: move type conversions to separate fileJacques Lucke
2021-04-15Spreadsheet: breadcrumbs and node pinningJacques Lucke
This introduces a context path to the spreadsheet editor, which contains information about what data is shown in the spreadsheet. The context path (breadcrumbs) can reference a specific node in a node group hierarchy. During object evaluation, the geometry nodes modifier checks what data is currently requested by visible spreadsheets and stores the corresponding geometry sets separately for later access. The context path can be updated by the user explicitely, by clicking on the new icon in the header of nodes. Under some circumstances, the context path is updated automatically based on Blender's context. This patch also consolidates the "Node" and "Final" object evaluation mode to just "Evaluated". Based on the current context path, either the final geometry set of an object will be displayed, or the data at a specific node. The new preview icon in geometry nodes now behaves more like a toggle. It can be clicked again to clear the context path in an open spreadsheet editor. Previously, only an object could be pinned in the spreadsheet editor. Now it is possible to pin the entire context path. That allows two different spreadsheets to display geometry data from two different nodes. The breadcrumbs in the spreadsheet header can be collapsed by clicking on the arrow icons. It's not ideal but works well for now. This might be changed again, if we get a data set region on the left. Differential Revision: https://developer.blender.org/D10931
2021-04-15Fix missing NULL checks in adb21faa83d69069418d7bb14e0211261072f3a9Campbell Barton
2021-04-15Fix T70286: Dissolve vertices/edges creates duplicate faceCampbell Barton
2021-04-14CMake/deps: Remove CPP11 option for OpenImageIOSebastián Barschkis
This flag is obsolete. In its current state (missing -D) it also results in a CMake unknown argument error on macOS.
2021-04-14Geometry Nodes: Realize instances when applying modifiersHans Goudey
The fact that geometry from instnances isn't realized when applying a nodes modifier can be very confusing, especially for new users. Nodes themselves realize geometry instances implicitly whenever they need to. We also currently make instances real and convert points to mesh when a modifier is added after the nodes modifier. With this commit, we simply do the same thing when applying the modifier. There are a few downsides though: - This can be an extremely heavy operations in some cases where geometry nodes is used to instance heavy geometry. - We will still have the issues with materials, since instances use materials from their original objects, but real geometry uses materials from the modifier object. It was decided to live with the potential performance downsides for now, the idea is the upsides of the change are more important, and people making complicated setups will be more likely to know not to apply the modifier. In the future there could be a warning if it's necessary though. Ref T87083
2021-04-14UI: Add a workspace for geometry nodes in the default startup fileHans Goudey
This will hopefully make it faster to start using the node editor. The workspace also includes the spreadsheet. Note that while existing startup files won't have this workspace added, it will be in the list of options when clicking on the "add workspace" button. Ref T86499
2021-04-14GPencil: Invert color offsetting for Single and Object modeAntonio Vazquez
Now, instead to offset the stroke color to make it visible over fill, the stroke keeps the original color and the fill is offset. Related to the issue in T87406.
2021-04-14Fix T87406: Stroke color when using object color modeFalk David
The color of the strokes was shifted when using `Single Color` or `Object Color`in Solid Display Mode. This was originally done so that it was still possible to differentiate strokes and fills. The fix allows for a completly flat shading by checking if the Lighting Mode is set to `Flat`. If it is, then the colors are not shifted for the strokes and everything will use the same color. Reviewed By: antoniov, fclem Maniphest Tasks: T87406 Differential Revision: https://developer.blender.org/D10957
2021-04-14Geometry Nodes: Add domain and data type to attribute searchHans Goudey
This patch adds domain and data type information to each row of the attribute search menu. The data type is displayed on the right, just like how the list is exposed for the existing point cloud and hair attribute panels. The domain is exposed on the left like the menu hierarchy from menu search. For the implementation, the attribute hint information is stored as a set instead of a multi-value map so that every item (which we need to point to descretely in the search process) contains the necessary data type and domain information by itself. We also need to allocate a new struct for every button, which requires a change to allow passing a newly allocated argument to search buttons. Note that the search does't yet handle the case where there are two attributes with the same name but different domains or data types in the input geometry set. That will be handled as a separate improvement. Differential Revision: https://developer.blender.org/D10623
2021-04-14UI: 2D Animation: Fix Labelling issue within the 'Cursor' dropdownAdrian Newton
Within the 2D Animation workspace, the 'Cursor' dropdown currently displays the 'Display Cursor' incorrectly aligned. This change fixes the alignment issue. Reviewed By: #user_interface, #grease_pencil, antoniov Differential Revision: https://developer.blender.org/D10614
2021-04-14FFmpeg: Adjust default proxy settingsRichard Antalik
GOP size and quality are adjusted for h264 codec. These new values are based on result of benchmark on 9 random files: https://docs.google.com/spreadsheets/d/1nOyUGjoVWUyhQ2y2lAd8VtFfyaY1wQNGj1krCCNbk7Y/edit?usp=sharing Reducing quality to 50 reduces proxy filesize by about 2x on average and has no significant impact on decoding performance. Increasing GOP size from 2 to 10 also reduces proxy filesize 2x-3x while scrubbing is only about 8% slower. It is still around 100FPS with 1920x1080 media. This is unfortunately about 50% slower than MJPEG, but this can be improved with `fastdecode` tune applied to libx264 encoder Quite surprisingly h264 codec presets had little influence on proxy building performance as well as proxy filesize. So far it looks that FFmpeg does initialize encoder in different way then Blender. This applies mot only for presets but for tune and profile libx264 setting. Once this issue is resolved, performance of proxies may be optimized further. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10897
2021-04-14Fix T87479: GPencil SVG export outside of cameraFalk David
When trying to export a GPencil object to SVG from outside the camera view, the expoted file would contain invalid data. This was because the calculation of the bounding box did not have any objects to iterate over. The fix makes sure we create the object list before trying to calculate the bounding box. Reviewed By: antoniov Maniphest Tasks: T87479 Differential Revision: https://developer.blender.org/D10975
2021-04-14Fix (unreported) compositor resolution propagation broken by some nodesManuel Castilla
Some operations may use no preferredResolution ({0, 0}) when calling determineResolution on inputs to check if they have resolution on their own. See MixOperation or MathOperation determineResolution implementation. In such cases {0, 0} resolution ends up being set when an input doesn't have own resolution, breaking propagation of the original preferredResolution. They don't mean to set it as resolution, it's just a check. This patch only allows to set valid resolutions (>0). When it's 0 it may be understood as "No preferred or determined resolution" so it should not be set to give output operations another chance of finding a proper resolution by calling determineResolution again with a different preferredResolution. Test file: {F9932526} Reviewed By: #compositing, jbakker Differential Revision: https://developer.blender.org/D10972
2021-04-14Cleanup: remove unused BLANK_PYTHON_TYPE defineCampbell Barton
2021-04-14Cleanup: spellingCampbell Barton
2021-04-14Cleanup: resolve type hinting error with make_source_archiveCampbell Barton
2021-04-14GNUmakefile: add 'check_mypy' convenience targetCampbell Barton
2021-04-13Fix T78803: Bad widget drawing with the R600g driverOmar Emara
The SB back-end optimizer for the mesa R600g driver corrupts the vertex shader for widget drawing. This will not be fixed upstream because SB is getting replaced as part of the new NIR path. This was thought to be an issue with instancing and an attempted fix was submitted in D8374, but it did not fix the issue. This patch reimplements the array look-up part of the code using switch case as a workaround and removes the old workaround implemented as part of D8374. Reviewed By: Clement Foucault Differential Revision: https://developer.blender.org/D10967
2021-04-13Nodes: Tooltip for Group Input propertiesFabian Schempp
With this patch, users can define custom tooltips for the exposed properties of their Geometry Nodes Groups. Currently this custom tooltips are only used in the modifier panel, but its a long term goal to use it in the node editor. Reviewer: Hans Goudey Differential Revision: https://developer.blender.org/D10884
2021-04-13Object: Enable transfer mode functionality for switching objects in Sculpt ModePablo Dobarro
This implements the changes discussed in T87134 for including switch object funcionality in 2.93. This includes: - Remove the switch object operator experimental option - Remove the option for switching objects in Edit Mode. - Rename switch_object to transfer_mode. - Enable the operator only in sculpt mode. - Expose the operator in the Sculpt menu with an eyedropper modal option. On later releases, we could revisit enabling the operator in other mode and object types as well as its place in the UI. Reviewed By: JulienKaspar, JacquesLucke Differential Revision: https://developer.blender.org/D10953
2021-04-13Sculpt: Update menu entries for new Expand operatorPablo Dobarro
Sculpt menus were using the legacy expand operator. This updates all entries to use the new one. It does not make sense to use Expand from the menus as it relies on the brush cursor position, but now all Expand shortcuts are listed in the UI. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10952
2021-04-13Revert 87aa514611b9: Removal of Lock Camera Gizmo ButtonHarley Acheson
Differential Revision: https://developer.blender.org/D10968 Reviewed by Julian Eisel
2021-04-13Fix T77330, T81704: Spline IK doesn't preserve bone scale correctlySebastian Parborg
Previously, the bone position outside of "fit to curve length" mode was incorrect. It assumed that the curve was completely straight with no bends or turns. This would lead to bones being scaled down as their final position would be servery underestimated in some cases. The solution is to do a sphere -> curve intersection test to see where to put the bones while still preserving their length. As we are using the tessellated curve data this essentially boils down to us doing a sphere -> line intersection check. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D10849
2021-04-13deps_builder: Bump download time out to 30 minsRay Molenkamp
The timeout was set to 60 seconds, which was problematic for some of the larger files like boost from the blender svn mirror.
2021-04-13Add `make source_archive_complete` targetSybren A. Stüvel
Add a `source_archive_complete` target for `make` that creates a source archive including the source packages of Blender's dependencies. This expands `make_source_archive.py` to include files from `${BUILD_DIR}/source_archive/packages/` as well. Reviewed By: dfelinto Maniphest Tasks: T86124 Differential Revision: https://developer.blender.org/D10727
2021-04-13Spreadsheet: rename Point to VertexJacques Lucke
Ref T86821. Differential Revision: https://developer.blender.org/D10962