Build modifier for Text object builds characters in the reversed order. #62043

Closed
opened 2019-02-28 12:22:13 +01:00 by Jurek · 13 comments

System Information
Operating system: win10
Graphics card: GeForce GTX 1060 6GB

Blender Version
blender-2.80.0-git.dd9cedddae69-windows64

Short description of error
As in the title. Build modifier for Text object goes from the last character to the first.

Converting Text to Curve object or Mesh object makes it work as expected.

Toogling 'reversed' checkbox doesn't help as it reverses the time not the building direction.

Exact steps for others to reproduce the error
bugreport.blend

Open the file and play animation

**System Information** Operating system: win10 Graphics card: GeForce GTX 1060 6GB **Blender Version** blender-2.80.0-git.dd9cedddae69-windows64 **Short description of error** As in the title. Build modifier for Text object goes from the last character to the first. Converting Text to Curve object or Mesh object makes it work as expected. Toogling 'reversed' checkbox doesn't help as it reverses the time not the building direction. **Exact steps for others to reproduce the error** [bugreport.blend](https://archive.blender.org/developer/F6729809/bugreport.blend) Open the file and play animation
Author

Added subscriber: @solartistic

Added subscriber: @solartistic
Sebastian Parborg self-assigned this 2019-02-28 13:02:27 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42

@ideasman42 found the issue here.

In blender/editors/object/object_add.c:1994 we convert the text object to a curve first, this causes the order in which the geometry indices are build to be reversed.
However, it seems like the current code can convert OB_FONT without any problems so if I remove that conversion, it seems to work fine.

I'm guessing that is is like this for a reason or is this simply something that is not needed anymore and can be removed?

I should also note that there seems to be a mem leak here too when converting to mesh:
Error: Not freed memory blocks: 15, total unfreed memory 0.032776 MB

@ideasman42 found the issue here. In `blender/editors/object/object_add.c:1994` we convert the text object to a curve first, this causes the order in which the geometry indices are build to be reversed. However, it seems like the current code can convert OB_FONT without any problems so if I remove that conversion, it seems to work fine. I'm guessing that is is like this for a reason or is this simply something that is not needed anymore and can be removed? I should also note that there seems to be a mem leak here too when converting to mesh: `Error: Not freed memory blocks: 15, total unfreed memory 0.032776 MB`
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Mem Leak might also be related to #60211

Mem Leak might also be related to #60211
Sebastian Parborg was unassigned by Dalai Felinto 2019-12-23 16:35:02 +01:00

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Sebastian Parborg self-assigned this 2020-01-30 15:05:33 +01:00

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

This one seems to be fixed in master now.

The result is the same for the text and the mesh object.

This one seems to be fixed in master now. The result is the same for the text and the mesh object.

Added subscriber: @miklobit-3

Added subscriber: @miklobit-3

Build modifier for Text still works in reversed order.

System Information
Operating system: Linux-4.15.0-20-lowlatency-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Mesa DRI Intel(R) Haswell Mobile Intel Open Source Technology Center 4.5 (Core Profile) Mesa 18.0.0-rc5

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca
Broken: version: 2.83 (sub 17), branch: master, commit date: 2020-05-22 19:52, hash: e8dd8c2829

Build modifier for Text still works in reversed order. **System Information** Operating system: Linux-4.15.0-20-lowlatency-x86_64-with-debian-buster-sid 64 Bits Graphics card: Mesa DRI Intel(R) Haswell Mobile Intel Open Source Technology Center 4.5 (Core Profile) Mesa 18.0.0-rc5 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca Broken: version: 2.83 (sub 17), branch: master, commit date: 2020-05-22 19:52, hash: e8dd8c2829

The issue reported here was that the build modifier would switch directions when converting a text object into a mesh.
This is not the case anymore so that issue is fixed.

The issue reported here was that the build modifier would switch directions when converting a text object into a mesh. This is not the case anymore so that issue is fixed.

Added subscriber: @ParrotDenis

Added subscriber: @ParrotDenis

Hello,

Build modifier for Text still works in reversed order.
I think what is expected here is that, with this build modifier and text, first letter appear, then second letter, then third ... But here is first the last letter...

Thank you!

Hello, Build modifier for Text still works in reversed order. I think what is expected here is that, with this build modifier and text, first letter appear, then second letter, then third ... But here is first the last letter... Thank you!
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
6 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#62043
No description provided.