Skip to content

only clone readonly patches in pc_patch_rotate_quaternion #39

@mbredif

Description

@mbredif

The cloning of the uncompressed pc_patch is currently done unconditionally in https://github.com/LI3DS/pointcloud/blob/dev/lib/pc_patch.c#L683-L688
This could be performed only when the patch is readonly, taking care of freeing the returned patch only if it differs from the input patch at https://github.com/LI3DS/pointcloud/blob/dev/pgsql/pc_editor.c#L63

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions