Import SVG file remove fill color #62883

Closed
opened 2019-03-23 20:29:27 +01:00 by Geoffroy Tremblay · 6 comments

System Information
Operating system: Arch Linux
Graphics card: Intel

Blender Version

Broken: Blender 2.80 (sub 51)
Worked: Blender 2.79

Short description of error

When importing a SVG in 2.79 the shapes are filled with the color from the vector file. When importing the same file in 2.8 beta there is only the outline of the shapes. ead.svg

SVGImport28.blend

SVGImport279.blend

Exact steps for others to reproduce the error
Create a simple SVG shape in Inkscape with a fill.
Save as Plain svg
Import in 2.79 the fill is there
Import in 2.8 beta the fill is not there anymore.

The material seems to be ok though -the color is the right one, it just doesn't seems to display it.

**System Information** Operating system: Arch Linux Graphics card: Intel **Blender Version** Broken: Blender 2.80 (sub 51) Worked: Blender 2.79 **Short description of error** When importing a SVG in 2.79 the shapes are filled with the color from the vector file. When importing the same file in 2.8 beta there is only the outline of the shapes. ![ead.svg](https://archive.blender.org/developer/F6871411/ead.svg) [SVGImport28.blend](https://archive.blender.org/developer/F6871419/SVGImport28.blend) [SVGImport279.blend](https://archive.blender.org/developer/F6871420/SVGImport279.blend) **Exact steps for others to reproduce the error** Create a simple SVG shape in Inkscape with a fill. Save as Plain svg Import in 2.79 the fill is there Import in 2.8 beta the fill is not there anymore. The material seems to be ok though -the color is the right one, it just doesn't seems to display it.

Added subscriber: @ponnuki

Added subscriber: @ponnuki

Added subscriber: @intrigus-3

Added subscriber: @intrigus-3

Can reproduce with latest master.
Bisecting shows, that this problem has been added with bc5b0f7a09.
The svg importer seems to rely on curves being filled by default.

I'm going to add a patch that should fix this problem.

Here is the patch: D4582

Can reproduce with latest master. Bisecting shows, that this problem has been added with bc5b0f7a091c. The svg importer seems to rely on curves being filled by default. I'm going to add a patch that should fix this problem. Here is the patch: [D4582](https://archive.blender.org/developer/D4582)
Sergey Sharybin was assigned by Sebastian Parborg 2019-03-25 13:29:55 +01:00
Sergey Sharybin was unassigned by Sebastian Parborg 2019-03-25 13:31:02 +01:00
Bastien Montagne was assigned by Sebastian Parborg 2019-03-25 13:31:02 +01:00

Added subscriber: @Sergey

Added subscriber: @Sergey

This issue was referenced by blender/blender-addons@d8177d9e92

This issue was referenced by blender/blender-addons@d8177d9e92b40e824ff5fb86cb35494c70aa0d8a

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
5 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#62883
No description provided.