Skip to content

SkinnedMeshBatchRenderer.prototype.cook calls set skeleton recursively #114

@jcyuan

Description

@jcyuan

Cocos Creator version

3.8.8

System information

windows 10

Issue description

wrong logic on set skeleton in SkinnedMeshBatchRenderer class

Relevant error log output

No response

Steps to reproduce

const smbr = new SkinnedMeshBatchRenderer();
smbr.skinningRoot = theRoot;
smbr.units.push(u1);
smbr.units.push(u2);
smbr.cook();    <------------ ERROR
Image

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions