Campbell Barton
d9891aa6ad
Fix #130561 : incorrect Python compatibility checks for wheels
...
Regression in [0] caused wheels with an older Python version
that used CPython's stable ABI to be considered incompatible.
Resolve using the stable ABI for version checks.
[0]: cfc10b0232565642afbfdc5a867f027640ce8274
2024-11-27 15:44:58 +11:00
Campbell Barton
093cb8bf43
Extensions: fix building packages containing macos universal wheels
2024-11-26 17:32:11 +11:00
Campbell Barton
64b9dbe198
Tests: correct hard coded version string in extensions test
2024-11-26 17:19:52 +11:00
Campbell Barton
63090b7af6
Fix #130705 : importing/exporting FBX with lights fails
2024-11-25 13:20:14 +11:00
Pratik Borhade
bf7cd4f975
Merge branch 'blender-v4.3-release'
2024-11-12 16:40:27 +05:30
Pratik Borhade
dda364637c
Fix #130059 : Rigify Limb menu disppears for some rotation fields
...
Caused by 78b9218c98
Undefined `iface_` is used, this terminates execution of further UI panel draw
code. Fix this by importing iface_ from module.
Pull Request: https://projects.blender.org/blender/blender/pulls/130063
2024-11-12 12:08:53 +01:00
Campbell Barton
9ee8e00fbc
Merge branch 'blender-v4.3-release'
2024-11-09 11:46:44 +11:00
Campbell Barton
cd07e729a2
Fix #130024 : addon_utils.enable(..) doesn't setup extensions wheels
...
addon_utils.enable/disable now handle wheels so that the functions can
be used with extension add-ons.
A new argument `refresh_handled` supports scripts handing refresh
themselves which is needed to avoid refreshing many times in cases
when there are multiple calls to enable/disable.
This is mostly useful for internal operations.
2024-11-09 11:44:34 +11:00
Campbell Barton
ceaa4fa8a1
Merge branch 'blender-v4.3-release'
2024-11-09 00:43:09 +11:00
Campbell Barton
23d1771649
Merge branch 'blender-v4.3-release'
2024-11-09 00:43:06 +11:00
Campbell Barton
08693d05c1
Fix missing wheel refresh after updating extensions
...
Applying all available updates wasn't re-synchronizing wheels.
2024-11-09 00:41:23 +11:00
Campbell Barton
ec22e967ad
Fix error installing extensions with wheels
...
Error in [0] caused versions not to match when enabling
extensions after installation or upgrade.
[0]: a3a3dda563
2024-11-09 00:41:21 +11:00
Campbell Barton
5d9ac5ab86
Merge branch 'blender-v4.3-release'
2024-11-08 16:09:54 +11:00
Campbell Barton
759a9e5bcb
Merge branch 'blender-v4.3-release'
2024-11-08 16:09:52 +11:00
Campbell Barton
c45d0cb022
Merge branch 'blender-v4.3-release'
2024-11-08 16:09:49 +11:00
Campbell Barton
67865cb73a
Tests: add tests to ensure literal paths are properly handled
...
Add tests to ensure literal paths are handled properly
(created as part of the fix for #129724 ).
2024-11-08 16:08:38 +11:00
Campbell Barton
4be66511de
Extensions: quote paths in error messages, improve missing file error
2024-11-08 16:08:38 +11:00
Campbell Barton
ae5f5c5bca
Fix #129724 : building extensions fails with non empty paths
2024-11-08 16:08:38 +11:00
Campbell Barton
d0a0133600
Merge branch 'blender-v4.3-release'
2024-11-07 18:25:00 +11:00
Campbell Barton
a3a3dda563
Extensions: support for filtering based on Python versions
...
Support multiple extensions with different Python versions in a similar
way to how "platforms" are handled now.
This will be needed when Blender upgrades to a newer version of Python
so extensions which have a binary dependency on Python 3.11 don't
attempt to install in a Blender built with a newer Python version.
Details:
- Extensions from incompatible Python versions are not listed.
- Python versions are extracted from wheel names.
- An extension may include wheels for multiple Python versions,
only the compatible wheels will be installed.
- Links may include a "python_versions" field which is checked
when dropping into Blender.
- JSON generated by the "server-generate" command include the:
"python_versions" field for extensions that include wheels.
- The "python_versions" field is optional, when omitted no version
checks are performed.
Also correct watch_test make target.
Ref #128750 .
2024-11-07 18:16:11 +11:00
Campbell Barton
1b7fc6094e
Merge branch 'blender-v4.3-release'
2024-11-06 11:49:15 +11:00
Campbell Barton
3d76e43e4a
Extensions: exclude "wheels" from the static JSON package listing
...
While relatively harmless, it's unnecessary bloat.
2024-11-06 11:47:51 +11:00
Julien Duroure
61505200e9
Merge branch 'blender-v4.3-release'
2024-10-31 15:13:20 +01:00
Julien Duroure
1f5d24fe0d
glTF exporter: Fix some UDIM export
...
- Do not export tiles if no vertices in it
- fix check jpg & webp detection for udim textures
2024-10-31 15:11:51 +01:00
Julien Duroure
fa73c18f07
Merge branch 'blender-v4.3-release'
2024-10-31 14:54:38 +01:00
Julien Duroure
912c85bb9d
glTF exporter: Fix #129407 - fix crash when step is != 1 and actions are not aligned
...
Example:
Step is 3
Action starts at 1, so the action will try to export frames 1 / 4 / 7 / 10, etc...
But full object backing is enable, and scene starts at 0.
So cached data are on frame 0 / 3 / 6 / 9 / 12, etc...
When we are trying to export the action on armature after the full bake on empty, we are trying to retrieve frame 1, but cache was on 0 / 3 / 6 / 9
2024-10-31 14:52:55 +01:00
Julien Duroure
b6346312c4
glTF exporter: Add some poll sanity checks
2024-10-31 14:46:36 +01:00
Julien Duroure
47be254a4e
Merge branch 'blender-v4.3-release'
2024-10-31 14:30:41 +01:00
Julien Duroure
1d108b0d77
glTF exporter: Fix Regression #128807 - avoid spaming stdout
...
error log will go to stderr, and others to stdout
A new parameter in operator to set the loglevel from command line bpy.ops.export_scene.gltf(loglevel=logging.INFO)
If not set from the ops, value is -1, and is set, as before, from the bpy.app.debug_value
2024-10-31 14:28:40 +01:00
Julien Duroure
72348b2c94
Merge branch 'blender-v4.3-release'
2024-10-31 14:16:41 +01:00
Julien Duroure
c872ae4959
glTF exporter: Fix regression exporting animated camera
...
Was introduced bu KHR_animation_pointer
2024-10-31 14:15:24 +01:00
Julien Duroure
f08fab9825
Merge branch 'blender-v4.3-release'
2024-10-31 14:09:25 +01:00
Julien Duroure
d723afe49f
glTF exporter: Fix regression exporting emission with texture
...
Regression was introduced by KHR_animation_pointer
2024-10-31 14:08:22 +01:00
Julien Duroure
ab45c6b27c
Merge branch 'blender-v4.3-release'
2024-10-31 14:01:49 +01:00
Julien Duroure
2c67b22bbb
glTF exporter: Remove some typing
...
This crashes bpy as a module (not sure why)
Cf #126807
2024-10-31 14:00:15 +01:00
Julien Duroure
32f7400f87
Merge branch 'blender-v4.3-release'
2024-10-31 13:55:58 +01:00
Julien Duroure
0b3010d84c
glTF exporter: Fix #128647 : Make KHR_materials_variants a not required extension
...
This extension is enabled, but not required for reading the file
2024-10-31 13:53:51 +01:00
Julien Duroure
98cf9fa85b
Merge branch 'blender-v4.3-release'
2024-10-31 13:46:06 +01:00
Julien Duroure
fb2edb17d9
glTF exporter: fix typo in hook name
...
Preventing having 2 hooks with same name at different places
2024-10-31 13:44:37 +01:00
Julien Duroure
8cbf156f0d
Merge branch 'blender-v4.3-release'
2024-10-31 13:40:49 +01:00
Julien Duroure
16754328f6
glTF exporter: Manage alpha when performing RGB2BW conversion
...
Based on what is visually done in viewport
2024-10-31 13:39:04 +01:00
Julien Duroure
47611af4d1
Merge branch 'blender-v4.3-release'
2024-10-31 13:30:14 +01:00
Julien Duroure
080877be6b
glTF exporter: Fix #129548 - Regression - Export ShapeKeys when only Armature modifier
...
Set a custom property (ignore at export) that can identify and differenciate:
- evaluated mesh
- geometry node with SK
2024-10-31 13:27:37 +01:00
Julien Duroure
c394130156
Merge branch 'blender-v4.3-release'
2024-10-31 13:19:46 +01:00
Julien Duroure
e04ac909b2
glTF: Set min Blender version 4.3
...
Because Draco lib is avaiable for bpy as a module only since 4.3
2024-10-31 13:18:08 +01:00
Julien Duroure
47ca37f961
Merge branch 'blender-v4.3-release'
2024-10-31 13:14:40 +01:00
Julien Duroure
b25da97fef
glTF: Fix #113469 : enable Draco compression for bpy as a py module
...
By looking in correct directory for bpy module
This was of course already available for Blender itself since few years
2024-10-31 13:13:19 +01:00
Campbell Barton
721e222b72
Merge branch 'blender-v4.3-release'
2024-10-30 11:43:45 +11:00
Campbell Barton
790fdd35b4
Fix hydra storm add-on not showing material preview
...
Check panels COMPAT_ENGINES contains BLENDER_EEVEE_NEXT.
2024-10-30 11:35:52 +11:00
Bastien Montagne
e0f51d4e49
Merge branch 'blender-v4.3-release'
2024-10-29 12:28:49 +01:00