Python mesh.from_pydata() without faces won't show mesh until in/out edit mode #57366
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#57366
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender Version
Broken: ed7f6b511f81 (blender2.8 HEAD)
Worked: 2.79a
Short description of error
Meshes created with Python, and the
mesh.from_pydata()
function are "invisible" until we go in and out of edit mode.The data seems valid though, since the object Dimensions is correct even when the mesh is invisible.
Exact steps for others to reproduce the error
Run the following script in the Text editor. In 2.79 it works fine. In 2.8 you have to toggle in and out of edit mode to see the mesh.
Maybe the issue is only that the API changed. If that's the case we need to update the release notes .
For a more interesting mesh use:
Added subscriber: @dfelinto
Added subscribers: @fclem, @ideasman42
Assigning to @ideasman42 but I suspect the issue may be the drawing caches, so poking @fclem as well.
And if you want a "production" example of this:
To fix the file turn the Widgets collection visible, select all objects and toggle in and out of edit mesh mode (multi-objects never came so handy).
This issue was referenced by blender/blender@901ccfab52
Changed status from 'Open' to: 'Resolved'
Thank you, rigify working fine now, assign from some:
//source/blender/blenkernel/intern/cdderivedmesh.c:157:2: runtime error: null pointer passed as argument 1, which is declared to never be null