Lukas Tönne LukasTonne
Lukas Tönne pushed to replace-unknown-node-types at LukasTonne/blender 2023-11-13 15:45:20 +01:00
a985d75f8e Cleanup: simpler return expression.
Lukas Tönne pushed to enum-idproperty-as-int at LukasTonne/blender 2023-11-13 15:38:53 +01:00
e8856ed0ae Fix idprop serialization test after removal of IDP_ENUM.
4545bf9053 Removed the IDP_ENUM and associated types, use IDP_INT for enums.
Compare 2 commits »
Lukas Tönne created branch enum-idproperty-as-int in LukasTonne/blender 2023-11-13 15:38:52 +01:00
Lukas Tönne commented on pull request blender/blender#114362 2023-11-13 15:36:17 +01:00
ID properties: Support enum values with items

Technically Campbell's suggestion can work, i've tested removing IDP_ENUM and moving the ui data into the Int property.

However, i agree with Hans that having a distinct IDP_ENUM type is…

Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-11-13 14:02:44 +01:00
bbd1cb9421 Merge branch 'main' into enum-idproperty
c6db3f98bb Fix modal key assignment for "Rotate Normals" in keymap versioning
523ea86b93 Merge branch 'blender-v4.0-release'
ff82b25c55 I18N: Updated UI translations from git/weblate repo (548bcaeb28eba).
e7cee02e4d Merge branch 'blender-v4.0-release'
Compare 256 commits »
Lukas Tönne commented on pull request blender/blender#114783 2023-11-13 13:59:02 +01:00
Fix #114582: Replace unknown node types with an 'undefined' node

Removed "static" from the comment.

Lukas Tönne pushed to replace-unknown-node-types at LukasTonne/blender 2023-11-13 13:58:38 +01:00
26c28021ae Cleanup: remove "static" from comment.
Lukas Tönne pushed to replace-unknown-node-types at LukasTonne/blender 2023-11-13 13:48:57 +01:00
7f2917c0ba Cleanup comments.
Lukas Tönne commented on pull request blender/blender#114783 2023-11-13 13:47:41 +01:00
Fix #114582: Replace unknown node types with an 'undefined' node

We don't have a global registry map by static node type, since static ids are sometimes shared between different node types. But i've added a static set to check for known types, which is only…

Lukas Tönne pushed to replace-unknown-node-types at LukasTonne/blender 2023-11-13 13:44:43 +01:00
8976dc9754 Use a static Set to avoid linear node type search on file read.
Lukas Tönne commented on issue blender/blender#114742 2023-11-13 13:04:14 +01:00
Regression: Lag and high memory usage from high amount of instances persists after removing those instances

I think i can confirm that it's a regression, but it's a bit difficult to compare directly. in 3.6 i can ramp it up to 2.5GB and it drops back down to <700MB after scaling back. In 4.1 it goes…

Lukas Tönne commented on pull request blender/blender#114783 2023-11-13 12:02:12 +01:00
Fix #114582: Replace unknown node types with an 'undefined' node

This should be ported to 3.6 LTS and 4.0.

Lukas Tönne created pull request blender/blender#114783 2023-11-13 12:01:03 +01:00
Fix #114582: Replace unknown node types with an 'undefined' node
Lukas Tönne pushed to replace-unknown-node-types at LukasTonne/blender 2023-11-13 11:57:53 +01:00
3f668072ee Fix #114582: Replace unknown node types with an 'undefined' node.
32e610c733 Revert "Fix building with GCC 13.2."
8bb08076d3 Fix building with GCC 13.2.
10ade9ceee Build: back-port fix for Python & SSL
71a519eca1 Build: back-port make_deps_wrapper.sh
Compare 10 commits »
Lukas Tönne created branch replace-unknown-node-types in LukasTonne/blender 2023-11-13 11:57:53 +01:00
Lukas Tönne commented on issue blender/blender#114582 2023-11-13 11:09:11 +01:00
Crash: Opening a 3.3 project crashes 3.6/4.0

On second thought: It should be easier to do this with nodes than with sockets. The NodeTypeUndefined is already handled, so if i replace unknown nodes with that type it should work. Socket…

Lukas Tönne commented on issue blender/blender#114582 2023-11-13 11:01:13 +01:00
Crash: Opening a 3.3 project crashes 3.6/4.0

That's true, but the issue i ran into with the sockets was that handling an unknown type is not something the various node systems necessarily support. We'll need to make sure that unknown…

Lukas Tönne pushed to fast-fourier-transform-node at LukasTonne/blender 2023-11-10 17:47:15 +01:00
48fa15392f Merge branch 'main' into fast-fourier-transform-node
672f14fee5 Cleanup: Make format
cda624032d Merge branch 'blender-v4.0-release'
821060f75a Fix #114686: Cannot execute node tool operators
cf41153798 Docs: include cls in bpy.utils.unregister_class
Compare 25 commits »
Lukas Tönne commented on issue blender/blender#114582 2023-11-10 12:22:28 +01:00
Crash: Opening a 3.3 project crashes 3.6/4.0

Perhaps we can just remove nodes that need storage but are missing it?

I would suggest to just discard any unknown built-in node types (custom nodes are left untouched).

In #114401 i…