Using Weight trasfer from an object without faces crash blender #50216

Closed
opened 2016-12-10 14:52:43 +01:00 by Gabriel Gomez · 7 comments

System Information
Ubuntu 16.04 64 bit - Intel graphic card

Blender Version
Broken: Blender 2.78a Official. Hash : e8299c8

Short description of error

Blender crash during weight transfer selecting type "vertex mapping" at options from weight transfer box if the input object not have any face (only vertex)
You can make a workaround easy adding a simple face to the input data object.

Exact steps for others to reproduce the error
There is only two objects at scene:
A ) one with vertex groups and vertex points but no faces
B) one torus without any vertex group.

Then :
Select input info object A
Select B while selecting A (holding Shift) making it parent from selection.
Select weight paint mode
At weight paint tools ("T" panel) , select Transfer Weights
Then from transfer weights dialog, select "vertex Mapping", any option (well I not try every option but brokes with the first ones) . That produce the crash.
You can add one face or more to object A to bypass this problem.
test_transferweight.blend

**System Information** Ubuntu 16.04 64 bit - Intel graphic card **Blender Version** Broken: Blender 2.78a Official. Hash : e8299c8 **Short description of error** Blender crash during weight transfer selecting type "vertex mapping" at options from weight transfer box if the input object not have any face (only vertex) You can make a workaround easy adding a simple face to the input data object. **Exact steps for others to reproduce the error** There is only two objects at scene: A ) one with vertex groups and vertex points but no faces B) one torus without any vertex group. Then : Select input info object A Select B while selecting A (holding Shift) making it parent from selection. Select weight paint mode At weight paint tools ("T" panel) , select Transfer Weights Then from transfer weights dialog, select "vertex Mapping", any option (well I not try every option but brokes with the first ones) . That produce the crash. You can add one face or more to object A to bypass this problem. [test_transferweight.blend](https://archive.blender.org/developer/F416406/test_transferweight.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @gabrign

Added subscriber: @gabrign
Member

Added subscriber: @LucaRood-3

Added subscriber: @LucaRood-3
Luca Rood self-assigned this 2016-12-11 14:48:01 +01:00
Member

This happens because all those vertex mappings with "face" in their names depend on the source object having faces. So those modes shouldn't work on objects without faces. However, this should really not crash Blender, but rather just show a warning. This should be an easy fix.

This happens because all those vertex mappings with "face" in their names depend on the source object having faces. So those modes shouldn't work on objects without faces. However, this should really not crash Blender, but rather just show a warning. This should be an easy fix.

Added subscriber: @Almisuifre

Added subscriber: @Almisuifre

This issue was referenced by 2e15618f49

This issue was referenced by 2e15618f498c5a64c012f559bbb95273e729999a
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
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
4 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#50216
No description provided.