Maniphest T93571

3.0 Candidate A.N.T. Landscape eroder error
Closed, Duplicate

Assigned To
None
Authored By
Joseph (JML1012)
Dec 2 2021, 2:53 PM
Tags
  • Add-ons (Community)
Subscribers
Joseph (JML1012)
Pratik Borhade (PratikPB2123)
Valeri Barashkov (valera)

Description

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49

Blender Version
Broken: version: 3.0.0 Release Candidate, branch: master, commit date: 2021-11-30 14:40, hash: rB3788003cdaeb
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: A.N.T.Landscape (0, 1, 8)
Author: Jimmy Hazevoet

**Short description of error**

I create default landscape, next click Landscape Eroder. Error follows.

//Python: Traceback (most recent call last):

File "F:\Software\Blender Builds\3.0 C\blender-3.0.0-candidate+v30.3788003cdaeb-windows.amd64-release\3.0\scripts\addons\ant_landscape\ant_functions.py", line 1062, in execute
  ob.vertex_groups.active = vg

RuntimeError: Error: VertexGroup 'capacity' not found in object 'Landscape.004'

location: <unknown location>:-1//

Exact steps for others to reproduce the error

Add a new default A.N.T. Lanscape mesh. Click on Landscape eroder in the Landscape tools. Error occurs.

Event Timeline

Joseph (JML1012) created this task.Dec 2 2021, 2:53 PM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Dec 2 2021, 4:21 PM

Hi, thanks for reporting. Similar issue as said in T93422: ANT Landscape Tools - Landscape Eroder not working

Will merge your report in T93422

Pratik Borhade (PratikPB2123) closed this task as a duplicate of T93422: ANT Landscape Tools - Landscape Eroder not working.Dec 2 2021, 4:21 PM
Valeri Barashkov (valera) added a subscriber: Valeri Barashkov (valera).Dec 2 2021, 4:55 PM

Can confirm. Works in 2.93, but not in 3.1.0 alpha.

Vertex groups are lost after ant_functions.py, line 1006:

979        g = Grid.fromBlenderMesh(me, vg, self.Ef)
980
981        me = bpy.data.meshes.new(me.name)
...
1005        g.toBlenderMesh(me)
1006        ob.data = me