Bsurface chash when data include Japanese characters #55960

Closed
opened 2018-07-12 23:03:49 +02:00 by Kesk Y · 7 comments

System Information
Operating system and graphics card
Windows10 GTX1070
Blender Version
Broken: 2.79

Short description of error
I set to make New Data as translated data(like "新しいデータ"), but Bsurface seaches only English data name.
So, Bsurface can't find data and crash.

Exact steps for others to reproduce the error
using Japanese settings and use Bsurface and write curve (GP_Layer will be"GPレイヤー") and add Surface by Bsurface button.

FIX : Bsurface.diff.txt

**System Information** Operating system and graphics card Windows10 GTX1070 **Blender Version** Broken: 2.79 **Short description of error** I set to make New Data as translated data(like "新しいデータ"), but Bsurface seaches only English data name. So, Bsurface can't find data and crash. **Exact steps for others to reproduce the error** using Japanese settings and use Bsurface and write curve (GP_Layer will be"GPレイヤー") and add Surface by Bsurface button. FIX : [Bsurface.diff.txt](https://archive.blender.org/developer/F3920188/Bsurface.diff.txt)
Author

Added subscriber: @icyp

Added subscriber: @icyp

This issue was referenced by e2c5cd7326

This issue was referenced by e2c5cd7326840b89c2c8b80c5b85339206b3f0ac
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

committed a fix for the issue reported. Regarding the other change in the diff: @icyp : could you open another report for this?

committed a fix for the issue reported. Regarding the other change in the diff: @icyp : could you open another report for this?
Author

The other change in diff is solution for another error by same problem(translated New data).

Modifire.name of "Shrinkwrap". It will be translated as "シュリンクラップ" in Japanese new data. But, Bsurfaces selects modifire by fixed name :"Shrinkwrap", and Bsurfaces can't find Shrinkwrap modifire that name is "シュリンクラップ". It causes error.

So, my solution is to avoid to select modifier by name, and select by its location in modifier stack. Added Modifier will be last in modifier stack.

sorry my poor english.

The other change in diff is solution for another error by same problem(translated New data). Modifire.name of "Shrinkwrap". It will be translated as "シュリンクラップ" in Japanese new data. But, Bsurfaces selects modifire by fixed name :"Shrinkwrap", and Bsurfaces can't find Shrinkwrap modifire that name is "シュリンクラップ". It causes error. So, my solution is to avoid to select modifier by name, and select by its location in modifier stack. Added Modifier will be last in modifier stack. sorry my poor english.
Member

ah, I see, committed 66fe0a6352

ah, I see, committed 66fe0a6352
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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-addons#55960
No description provided.