Fix T88534: Unable to add a Geometry Node Tree on Volume object
Volumes are supported, poll corrected. Maniphest Tasks: T88534 Differential Revision: https://developer.blender.org/D11378
This commit is contained in:
parent
03c0fa1cdb
commit
09e77f904d
Notes:
blender-bot
2023-02-14 02:43:21 +01:00
Referenced by issue #88534, Unable to add a Geometry Node Tree on an Empty Volume object
|
@ -42,8 +42,8 @@ def geometry_node_group_empty_new():
|
|||
def geometry_modifier_poll(context):
|
||||
ob = context.object
|
||||
|
||||
# Test object support for geometry node modifier (No volume, curve, or hair object support yet)
|
||||
if not ob or ob.type not in {'MESH', 'POINTCLOUD'}:
|
||||
# Test object support for geometry node modifier (No curve, or hair object support yet)
|
||||
if not ob or ob.type not in {'MESH', 'POINTCLOUD', 'VOLUME'}:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue