Cleanup: Simplify mesh to legacy curve logic #105870

Merged
Hans Goudey merged 2 commits from bonj/blender:cleanup/convert-mesh-to-curve into main 2023-03-18 03:49:36 +01:00
Contributor

Changed edge->v2 to endVert to make it consistent with surrounding code.
Removed the unused totedges variable.

Changed `edge->v2` to `endVert` to make it consistent with surrounding code. Removed the unused `totedges` variable.
Jorijn de Graaf added 2 commits 2023-03-18 03:06:41 +01:00
b66cd0e4c4 Use endVert instead of edge->v2
To make it consistent with the surrounding code.
74b80e87d5 Remove totedges
This variable isn't actually used, probably a remnant from long ago.
Jorijn de Graaf requested review from Hans Goudey 2023-03-18 03:07:06 +01:00
Author
Contributor

These changes were originally part of PR #105838.

These changes were originally part of PR #105838.
Hans Goudey approved these changes 2023-03-18 03:17:19 +01:00
Hans Goudey changed title from Cleanup: Convert mesh to curve to Cleanup: Simplify mesh to legacy curve logic 2023-03-18 03:17:58 +01:00
Jorijn de Graaf changed title from Cleanup: Simplify mesh to legacy curve logic to Cleanup: BKE_mesh_to_curve_nurblist 2023-03-18 03:25:50 +01:00
Jorijn de Graaf changed title from Cleanup: BKE_mesh_to_curve_nurblist to Cleanup: Simplify mesh to legacy curve logic 2023-03-18 03:32:42 +01:00
Author
Contributor

Oops, didn't see you had changed the PR name (because you have to refresh the page for that, and I keep tabs open forever).
Changed it back to what you set it to now, because it's a lot better than my title.

Oops, didn't see you had changed the PR name (because you have to refresh the page for that, and I keep tabs open forever). Changed it back to what you set it to now, because it's a lot better than my title.
Author
Contributor

For history reasons:

Currently totpoly is also unused, but is fixed in a separate PR.

Keeping this as a comment on the PR instead of as part of the PR description.

For history reasons: > Currently totpoly is also unused, but is fixed in a separate PR. Keeping this as a comment on the PR instead of as part of the PR description.
Hans Goudey merged commit 740c9204cc into main 2023-03-18 03:49:36 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#105870
No description provided.