Maniphest T91904

Assert trips when loading an empty custom curve profile
Closed, ResolvedBUG

Assigned To
Hans Goudey (HooglyBoogly)
Authored By
Howard Trickey (howardt)
Oct 2 2021, 10:06 PM
Tags
  • BF Blender
  • Modeling
Subscribers
Hans Goudey (HooglyBoogly)
Howard Trickey (howardt)

Description

System Information
Operating system: Ubuntu
Graphics card: GeForce RTX 2080 Ti

Blender Version
Broken: (example: 3.0,.0 Alpha)
Worked: 2.8
Short description of error

Loading the test file Asymmetric Bevel Bug.blend from report T71329 causes an assert crash initializing the profile in that file (the profile appears to be empty, so there are 0 points, which results in the high resolution number of points being negative).

Exact steps for others to reproduce the error
Load this file in a recent master build:

I could put in a fix for this but not sure if it would be right. Better for Hans Goudy to look at it.

Revisions and Commits

rB Blender

Event Timeline

Howard Trickey (howardt) created this task.Oct 2 2021, 10:06 PM
Pratik Borhade (PratikPB2123) added a subscriber: Hans Goudey (HooglyBoogly).Oct 3 2021, 1:39 PM
Hans Goudey (HooglyBoogly) changed the task status from Needs Triage to Confirmed.Oct 3 2021, 8:00 PM
Hans Goudey (HooglyBoogly) claimed this task.
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".
Hans Goudey (HooglyBoogly) added a project: Modeling.
Hans Goudey (HooglyBoogly) closed this task as Resolved by committing rBcc8fa3ee9099: Fix T91904: Assert when loading empty CurveProfile.Oct 4 2021, 3:28 AM
Hans Goudey (HooglyBoogly) added a commit: rBcc8fa3ee9099: Fix T91904: Assert when loading empty CurveProfile.