Skip to content

Bug: Incorrect verbose debug string #5262

Closed

Description

@KoboldSoftware

code/PostProcessing/ImproveCacheLocality.cpp
Line 352
ASSIMP_LOG_VERBOSE_DEBUG("Mesh %u | ACMR in: ", meshNum, " out: ", fACMR, " | ~", fACMR2, ((fACMR - fACMR2) / fACMR) * 100.f);

will produce incorrect output:
Debug, T11684: Mesh %u | ACMR in: 0 out: 2.2381 | ~1.85714

Line 352 should be changed to:
ASSIMP_LOG_VERBOSE_DEBUG("Mesh ", meshNum, " | ACMR in: ", fACMR, " out: ", fACMR2, " | ~", ((fACMR - fACMR2) / fACMR) * 100.f);

will produce correct output:
Debug, T11684: Mesh 0 | ACMR in: 2.2381 out: 1.85714 | ~17.0213

Activity

  1. added
    Bug
    on Oct 3, 2023
  2. added
    Postprocessing
    on Oct 7, 2023
  3. added a commit that references this issue on Oct 7, 2023
  4. added a commit that references this issue on Oct 8, 2023
  5. added a commit that references this issue on Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPostprocessing

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions