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-11-05Fix T92503: Cycles OSL crash with object attributesBrecht Van Lommel
Can't cast to float4 because it might not have correct alignment.
2021-11-05UI: Fix minor theme mismatchPablo Vazquez
Pie menu got wrong item highlight and options settings were outdated.
2021-11-05Fix T92815: Incorrect handling of evaluated meshes from curvesHans Goudey
Evaluated meshes from curves are presented to render engines as separate instance objects now, just like evaluated meshes from other object types like point clouds and volumes. For that reason, cycles should not consider curve objects as geometry (previously it did, meaning it retrieved a second mesh from the curve object as well as the temporary evaluated mesh geometry). Further, avoid adding a curve object's evaluated mesh as data_eval, since that is special behavior for meshes that is arbitrary. Adding an evaluated mesh there but not an evalauted pointcloud is arbitrary, for example. Retrieve the evaluated mesh in from the geometry set in BKE_object_get_evaluated_mesh now, to support that change. This gets us closer to a place where all of an object's evaluated data is stored in geometry_set_eval, and we just have helper functions to access specific geometry components. Differential Revision: https://developer.blender.org/D13118
2021-11-05UI: Fix minor theme mismatchPablo Vazquez
Pie menu got wrong item highlight and options settings were outdated.
2021-11-05UI: Apply recent theme fixes for Preferences saved in 3.1 buildsJulian Eisel
Followup to e65230f0c03c. Pablo and I decided it's fine to reset themes again when saved with the recent 3.1 builds. This needed to be done a bit careful, since a normal version patch resetting the theme would've reset the theme for anybody opening preferences of a 3.0 build (even the final release build) in a 3.1 build. So make sure the theme is at least from a 3.1 build (but not newer then this commit of course).
2021-11-05Cleanup: Use reference for non-optional C++ parameterJulian Eisel
A reference makes clear that NULL is not an expected value. So it's the prefered way of passing a `const` input parameter (at least if it may not be cheap to copy).
2021-11-05Fix T92815: Incorrect handling of evaluated meshes from curvesHans Goudey
Evaluated meshes from curves are presented to render engines as separate instance objects now, just like evaluated meshes from other object types like point clouds and volumes. For that reason, cycles should not consider curve objects as geometry (previously it did, meaning it retrieved a second mesh from the curve object as well as the temporary evaluated mesh geometry). Further, avoid adding a curve object's evaluated mesh as data_eval, since that is special behavior for meshes that is arbitrary. Adding an evaluated mesh there but not an evalauted pointcloud is arbitrary, for example. Retrieve the evaluated mesh in from the geometry set in BKE_object_get_evaluated_mesh now, to support that change. This gets us closer to a place where all of an object's evaluated data is stored in geometry_set_eval, and we just have helper functions to access specific geometry components. Differential Revision: https://developer.blender.org/D13118
2021-11-05Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-05Fix part of T89313: Attribute search crash during animation playbackHans Goudey
During animation playback, data-blocks are reallocated, so storing pointers to the resulting data is not okay. Instead, the data should be retrieved from the context. This works when the applied search item is the "dummy" item added for non-matches. However, it still crashes for every other item, because the memory is owned by the modifier value log, which has been freed by the time the exec function runs. The next part of the solution is to allow uiSearchItems to own memory for the search items.
2021-11-05Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-05Fix T92848: Crash when joining curves with spline domain attributesHans Goudey
The point domain attributes (stored on splines) are sorted so they have a consistent order on all splines after the join. However, spline domain attributes were included in the new order, which didn't work because the length of the attribute lists didn't match. The simple fix is to only include point domain attributes in the new order vector.
2021-11-05Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-05UI: Use arrow icon on context pathsPablo Vazquez
The current `ICON_SMALL_TRI_RIGHT_VEC` uses dark hard-coded colors ([`0.2`, `0.2`, `0.2`]) which makes it impossible to theme and hard to see in dark contexts. Use `ICON_RIGHTARROW` to match the Outliner's breadcrumbs. This icon uses `TH_TEXT` so it's visible as long as the rest of the text is. ##### Master (Properties editor background made red on purpose to be able to see the triangle icon) {F11713038, size=full} #### This patch {F11713039, size=full} Reviewed By: #user_interface, Severin, HooglyBoogly Maniphest Tasks: T92771 Differential Revision: https://developer.blender.org/D13106
2021-11-05Fix: Viewport stats wrong for Geometry Nodes instancesErik
In some cases when geometry is created in Geometry Nodes the viewport stats will show 0 because runtime data is not filled. This patch sets the runtime data on instances. Differential Revision: https://developer.blender.org/D12738
2021-11-05Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-05Fix T92850: Curve to mesh incorrect for single point profilesHans Goudey
For single point splines that weren't at the origin, the results were incorrect. Now take into account the tilt, radius, etc. just like the general case.
2021-11-05Fix GCC warnings after own recent commitJulian Eisel
Caused by 4e09fd76bcab.
2021-11-05Cleanup: Remove misleading commentJulian Eisel
Python isn't doing any conversion here. We just do a regular lookup of the given enum identifier in the RNA enum definition.
2021-11-05Cleanup: Remove redundant scope qualifiers.Jeroen Bakker
2021-11-05Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-05UI: Various theme fixes related to contrastPablo Vazquez
* Animation channels (Fixes T92612) * Curve widget (Fixes T92595) * Pie menu (Fixes T92590) * Radio and toggle buttons background * Checkbox background * Fix highlighted marker name on Dopesheet (text highlight on Dopesheet) #### Master {F11697667, size=full} #### This Patch {F11697669, size=full} {F11697849, size=full} {F11697833, size=full} {F11697852, size=full} Reviewed By: #user_interface, campbellbarton, Severin Maniphest Tasks: T92595, T92612, T92590 Differential Revision: https://developer.blender.org/D13087 # Conflicts: # source/blender/blenkernel/BKE_blender_version.h
2021-11-05VSE: Remove separator lines between rowsPablo Vazquez
The VSE grid theme setting is currently used for two things: * Indicate time intervals (vertical lines) * As separator between channels (horizontal lines) This adds visual noise because for the time interval to be visible, the grid color needs to be bright, resulting in a rectangle-grid backdrop. Recently, the VSE got a theme setting to customize alternate-row background color. This should be sufficient to tell the channels apart without the need for a line in between. Additionally, this patch makes the VSE background use the theme setting as-is, without hard-coded darkening, to ease the tweaking of themes. This aligns the style of the VSE backdrop with the rest of Blender (Outliner rows, File Browser, Spreadsheet, Info and animation editors). Related reports: T92581 Related task: T92792 #### Before {F11680317, size=full} #### After {F11694981, size=full} Reviewed By: #user_interface, Severin Maniphest Tasks: T92581 Differential Revision: https://developer.blender.org/D13072
2021-11-05Merge branch 'blender-v3.0-release'Bastien Montagne
2021-11-05Fix potential uninitialized memory in link/append code.Bastien Montagne
2021-11-05Cleanup (UI): Add/use type for operator context enumJulian Eisel
Adds a `wmOperatorCallContext` typedef for the existing `WM_OP_XXX` operator context enum. This adds type safety, allows the compiler to produce better warnings and helps understanding what a variable is for. Differential Revision: https://developer.blender.org/D13113 Reviewed by: Campbell Barton
2021-11-05Cleanup: Remove wrong comments in versioningJulian Eisel
This comment is from the block at the end of the versioning functions, where we have an unversioned block to collect versioning code that doesn't require immediate version bumping. The comment was probably just copied over with the code when bumping the version eventually.
2021-11-05Fix T92807: Incorrect display planar tracking.Jeroen Bakker
Issue introduced in {7e66616b7e15} where the shader was replaced with a 2d image shader. This patch reverts several commits that removed the 3d image shader.
2021-11-05Cleanup: Split image engine into ImageEngine, SpaceAccessor and DrawingMode.Jeroen Bakker
Image engine is used to draw an image into a space. The current structure wasn't clear and couldn't be easilly extended. This refactor spliced the image draw engine into 3 main components. - Space accessors: contains an interface to communicate with space data (Image editor, UV Editor, Node Editor) in a common way. This reduced the branching in the code base. - DrawingMode: contains an interface to the used tactic to draw an image inside the space framebuffer. Currently only one mode is implemented; in the future there could be a separate drawing mode for huge images. - ImageEngine: the core that connects the draw manager with the space data and drawing mode.
2021-11-05GPencil: Fix dash modifier missing vertex color.YimingWu
The original code did not copy vertex color to the generated stroke, now fixed.
2021-11-05GPencil: Fix dash modifier missing vertex color.YimingWu
The original code did not copy vertex color to the generated stroke, now fixed.
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Cleanup: use (s) postfix for messages that may be pluralCampbell Barton
Ref 01c824ac88a0ff95a26c26be09f7a8853e47e446
2021-11-05Cleanup: replace face-map reference in gizmo exampleCampbell Barton
Copy-paste error.
2021-11-05Fix T70768: Python gizmo-groups not working in the sequencerCampbell Barton
2021-11-05Correct assert checking gizmo typeCampbell Barton
2021-11-05Fix PyAPI integer conversion error handlingCampbell Barton
Non integer types raised an OverflowError, even when non-number types were passed in. Now the error from Python is kept.
2021-11-05Fix T92740: Missing lock around the image CacheLimiterJesse Yurkovich
A recent change exposed this long-standing race. Simply protect the MEM_CacheLimiter with its lock now. Additionally, guard against unmanaging an already destroyed cache handle. Ref T92740, T92838
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Cleanup: use doxy sections in graph editor moduleCampbell Barton
2021-11-05Cleanup: spelling/typosCampbell Barton
2021-11-05Revert "Fix T92464: Operators fail after opening blend files via an operator"Campbell Barton
This reverts commit 9bd97e62ade417f6b4025acbad46802c3e7e5683. This caused T92818. Event handling relies on checking for NULL window to detect file load in enough different areas of the code that this isn't a practical solution. Revert this change in favor of an alternative approach.
2021-11-05Cleanup: move code in graph_slider_opsChristoph Lendenfeld
Future operators can use the same code, so it is moved up to disassociate it from decimate No functional changes Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12489 Ref: D12489
2021-11-05Cleanup: renames in graph_slider_opsChristoph Lendenfeld
This patch renames: * tDecimateGraphOp to tGraphSliderOp * dgo to gso (to match with the struct rename) * decimate_reset_bezts to reset_bezts to indicate it can be used by other functions No functional changes Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12490 Ref: D12490
2021-11-04Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-04Cleanup: Move object.c to C++Germano Cavalcante
This is useful to allow the use of features made in C++. Differential Revision: https://developer.blender.org/D13115
2021-11-04Cleanup: fix typoBrecht Van Lommel