Dalai Felinto
a93238a922
GPv3: Reverse Curve node
...
Part of #113602 .
Ref !113702 .
2023-10-14 12:50:02 +02:00
Leon Schittek
d9225ac121
Merge branch 'blender-v4.0-release'
2023-10-14 10:07:09 +02:00
Leon Schittek
b93dbaba1d
Fix: Node Editor: Improve info panel drawing
...
Fix papercuts with the info panel:
1. Make the panel extend behind hidden nodes
2. Don't let it become smaller than the node itself, when resizing
Pull Request: https://projects.blender.org/blender/blender/pulls/113411
2023-10-14 09:37:03 +02:00
Campbell Barton
e6933e526c
PlayAnim: place the indicator closest to the mouse cursor
...
The indicator placement was always rounded to the left.
2023-10-14 17:14:14 +11:00
Campbell Barton
f9b403c349
Cleanup: comments, reduce variable scope
2023-10-14 17:02:43 +11:00
Campbell Barton
286c893df7
PlayAnim: support dropping multiple files at once
...
Previously only a single file was supported (only the first file was
used), now all files are loaded.
2023-10-14 16:04:38 +11:00
Campbell Barton
b1cd144d7e
PlayAnim: don't expand sequences when passing in multiple files
...
Only expand image sequences when a single file is passed in.
This allows shell globing to expand images without expanding each.
Prepare for support multiple file drag & drop where it also doesn't
make sense to expand sequences when dropping multiple files.
2023-10-14 16:00:56 +11:00
Campbell Barton
e23cb0c743
Cleanup: simplify animation player argument handling
...
The first argument was always ignored, this added a minor complication
to drag & drop as the new argument needed to have a dummy first argument.
2023-10-14 16:00:54 +11:00
Campbell Barton
2e0b844b36
Cleanup: spelling in comments
2023-10-14 13:53:00 +11:00
Harley Acheson
83705a87cb
FontBLF: Store Sizes, Styles, and Other Metrics
...
When loading a font, gather metrics and other information that can help
use it more correctly. Default weight and slant, X-height, cap height,
locations for underline, strike-through, subscripts, etc. Family and
style flags, etc.
Pull Request: https://projects.blender.org/blender/blender/pulls/113432
2023-10-14 02:43:48 +02:00
Harley Acheson
844b78786c
Cleanup: Calm Warning in Interface_region_tooltip
...
Remove warning about unused variable `field_next`
Pull Request: https://projects.blender.org/blender/blender/pulls/113708
2023-10-14 02:14:22 +02:00
Harley Acheson
8919fb8bc7
UI: Fix Placeholder Bad String Comparison
...
Bad string comparison in ui_but_placeholder_get()
Pull Request: https://projects.blender.org/blender/blender/pulls/113706
2023-10-14 01:42:49 +02:00
Dalai Felinto
7a73f792ed
GPv3: Fix Normal Field
...
Part of #113602 .
Ref !113704 .
2023-10-14 00:58:02 +02:00
Dalai Felinto
16b7977bb5
GPv3: Set Curve Normal
...
Part of #113602 .
Ref !113704 .
2023-10-14 00:58:02 +02:00
Germano Cavalcante
c634a15e85
Fix crash when canceling Vertex Crease with Mirror
...
Crash due to variables not initialized.
2023-10-13 19:14:42 -03:00
Harley Acheson
d94502b456
Merge branch 'blender-v4.0-release'
2023-10-13 14:52:26 -07:00
Harley Acheson
da2902120e
UI: Remove Menu Search Console Warning
...
Menu Search is showing a console warning whenever it can't find a menu
to search. WM_menutype_find should be set to silent.
Pull Request: https://projects.blender.org/blender/blender/pulls/113701
2023-10-13 23:51:18 +02:00
Harley Acheson
0c064fab59
UI: Never Show Unknown Type Placeholder
...
Some but types of UI_BTYPE_SEARCH_MENU can have no ID code and also be
of UnknownType. Don't show placeholder in this case.
Pull Request: https://projects.blender.org/blender/blender/pulls/113700
2023-10-13 23:39:45 +02:00
Harley Acheson
cb9832f9b1
UI: Allow Tooltip Padding In Any Order
...
Allow padding anywhere within a tooltip, not just before the current
field, by adding a new field type of UI_TIP_STYLE_SPACER.
Pull Request: https://projects.blender.org/blender/blender/pulls/112487
2023-10-13 22:34:43 +02:00
Harley Acheson
2d5c762645
Merge branch 'blender-v4.0-release'
2023-10-13 13:32:28 -07:00
Harley Acheson
d625feadd8
Fix #113689 : Improved BLF_width_to_strlen Measurement
...
BLF_width_to_strlen measures text with reduced accuracy with Hinting or
subpixel anti-aliasing enabled. blf_font_width_to_strlen_glyph_process
does not take into account these changes when iterating through glyphs.
Pull Request: https://projects.blender.org/blender/blender/pulls/113698
2023-10-13 22:31:08 +02:00
Hans Goudey
9b0188db03
Fix #112448 : Leading deform modifiers skip adding original coordinates
...
Previously the first group of deform modifiers didn't need to access
original coordinates explicitly because the deformation wasn't included
in the mesh positions. After d20f992322 the mesh is deformed
directly though, so the original coordinates need to be added first.
In the case of this report, the particle system (which is a "deform"
modifier for reasons) didn't have original coordinates to work with, so
it created the child particles at the deformed positions from the shape
keys every time. Though for some reason it only did that for renders.
Pull Request: https://projects.blender.org/blender/blender/pulls/113679
2023-10-13 20:35:16 +02:00
Dalai Felinto
a92cfc2754
GPv3: Set Spline Resolution
...
Part of #113602 .
2023-10-13 19:55:10 +02:00
Dalai Felinto
d3fea733a1
GPv3: Set Spline Cyclic
...
Part of #113602 .
2023-10-13 19:48:22 +02:00
Dalai Felinto
493674435f
GPv3: Set Curve Tilt
...
Part of #113602 .
2023-10-13 19:48:22 +02:00
Clément Foucault
3a998fc461
Fix EEVEE-Next: Linking error cause by closure_to_rgba
2023-10-13 19:25:11 +02:00
Clément Foucault
71835808d3
Fix EEVEE-Next: Inverted world coordinates
...
Caused by 71dfcf4558
2023-10-13 19:21:08 +02:00
Miguel Pozo
6484274048
Merge branch 'blender-v4.0-release'
2023-10-13 19:19:06 +02:00
Miguel Pozo
9e7a576cee
Workbench: Fix: depth_in_front not being copied after the first sample
2023-10-13 19:18:46 +02:00
Clément Foucault
44d73f0fa6
GL: Silence null dispatch error
...
These are false positive. We actually want to
not dispatch in this case.
2023-10-13 19:15:05 +02:00
Clément Foucault
8f49407128
Fix EEVEE-Next: Broken Ambient Occlusion
...
Caused by 71dfcf4558
2023-10-13 19:07:05 +02:00
Julian Eisel
14d6891efe
Merge branch 'blender-v4.0-release'
2023-10-13 19:05:13 +02:00
Leon Schittek
7017a9880e
Fix: UI: Scale list item highlight with zoom
...
Fix the row highlight in list views not scaling properly by taking
the zoom into account.
Pull Request: https://projects.blender.org/blender/blender/pulls/113645
2023-10-13 19:04:42 +02:00
Julian Eisel
7d3d214a82
Merge branch 'blender-v4.0-release'
2023-10-13 19:00:38 +02:00
Harley Acheson
5a1ad7d61d
UI: Improved Placeholder Defaults
...
Improvements to how placeholder strings are guessed. Checking for
search icon, and also using name of the RNA property type.
Pull Request: https://projects.blender.org/blender/blender/pulls/113688
2023-10-13 18:53:33 +02:00
Julian Eisel
7705e49bcd
Fix #113201 : Assets in same folder as current file ignored in All library
...
If an asset library was pointing to the same path as the current file is saved
in, the assets from this library wouldn't be loaded. This is because the asset
library service assumed the absolute library root path is a way to uniquely
identify an asset library.
Instead, identify the asset library using both the root path and the library
type.
2023-10-13 18:52:38 +02:00
Hans Goudey
e1fb095f0e
GPv3: Fix Field inputs that had no inputs
...
For example:
* Curve Tangent
* Spline Parameter
2023-10-13 18:51:03 +02:00
Jacques Lucke
71feaba657
RNA: speedup rna path creation in simple but common case
...
This speeds up saving the following production file by about 10%:
`240ms -> 220ms`
`heist/pro/shots/060_fight/060_0080/060_0080.anim.blend`
This is a fairly low hanging fruit. Ideally we wouldn't have to duplicate
the string at all, but changing that is a larger undertaking.
2023-10-13 18:42:23 +02:00
Clément Foucault
5b1d5fa82f
Cleanup: EEVEE-Next: Remove some TODOs
...
These just move some code around, cleanup the
syntax and make sure to use appropriate libs.
2023-10-13 18:33:15 +02:00
Clément Foucault
ef494b2794
Fix EEVEE-Next: Broken Barycentric on Metal
2023-10-13 18:01:29 +02:00
Clément Foucault
71dfcf4558
EEVEE-Next: Remove common lib usage
...
Replaces all usage by the the gpu_shader_math
equivalent. This is because the old shader
library was quite tangled.
This avoids dependency hell trying to
mix libraries.
Changes are split into isolated commits until
I had to do mass changes because of inter-
dependencies.
Pull Request: https://projects.blender.org/blender/blender/pulls/113631
2023-10-13 17:59:46 +02:00
Harley Acheson
f7a8536112
Merge branch 'blender-v4.0-release'
2023-10-13 08:36:19 -07:00
Harley Acheson
a9dc7a4719
Cleanup: Comment for Assert in UI_text_clip_middle_ex
...
Just an added detailed comment for the reason for the assert in
UI_text_clip_middle_ex and why it has wriggle room.
2023-10-13 08:35:04 -07:00
Miguel Pozo
42aa97a080
Fix #113580 : Workbench: Always setup in_front_depth_tx
...
Always setup in-front depth, since Overlays can be updated without causing a Workbench re-sync.
2023-10-13 17:12:40 +02:00
Dalai Felinto
4a11755458
GPv3: Curve to Mesh node
...
Part of #113602 .
Ref !113659 .
2023-10-13 16:50:12 +02:00
Falk David
1b85ca7b05
Fix: GPv3: Reorder layers missing update
...
Reordering layers using drag-and-drop in the properties editor
was missing a depsgraph update.
2023-10-13 16:48:43 +02:00
Clément Foucault
f4e584b02a
BLI: Math Vector: Add reduce_min/max/add and average function
...
This is a straightforward port from Cycles functions.
They are written to work even with vector of size 1.
Pull Request: https://projects.blender.org/blender/blender/pulls/113678
2023-10-13 16:48:19 +02:00
Brecht Van Lommel
7f07d5f428
Merge branch 'blender-v4.0-release' into main
2023-10-13 16:34:27 +02:00
Dalai Felinto
1f680c3859
GPv3: Curve to Points node
...
Part of #113602 .
Ref !113634 .
2023-10-13 16:33:54 +02:00
Dalai Felinto
6853d787db
Geometry Nodes: Util function to propagate attributes
...
This propagates from layer to instances, which is required by some
of the Grease Pencil nodes.
Part of #113602 .
Ref !113634 .
2023-10-13 16:33:54 +02:00