• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 19 20 21 22 23 … 35 Next »
[fixed] When non-latin language, Wings does output error log.

 
  • 0 Vote(s) - 0 Average
[fixed] When non-latin language, Wings does output error log.

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#1
05-15-2016, 01:36 AM (This post was last modified: 06-04-2016, 01:05 AM by micheus.)
In Constraint command,If a tag string has been translated by non-latin string.
Wings does output following error log.
Code:
wpc_constraints:command/3: bad return value: {'EXIT',
                                              {badarg,
                                               [{io,format,
                                                 [<0.90.0>,
                                                  "The ~s constraint bound to ~s is now set to ~p\n\n",
                                                  [[22238,36578,37327],
                                                   "Alt",90.0]],
                                                 []},
                                                {wpc_constraints,
                                                 set_constraint,3,
                                                 [{file,"wpc_constraints.erl"},
                                                  {line,1053}]},
                                                {wpc_constraints,set_angle,3,
                                                 [{file,"wpc_constraints.erl"},
                                                  {line,902}]},
                                                {wings_develop,time_command,
                                                 2,
                                                 [{file,"wings_develop.erl"},
                                                  {line,81}]},
                                                {wings_plugin,command,3,
                                                 [{file,"wings_plugin.erl"},
                                                  {line,139}]},
                                                {wings,raw_command_1,3,
                                                 [{file,"wings.erl"},
                                                  {line,641}]},
                                                {wings,raw_command,4,
                                                 [{file,"wings.erl"},
                                                  {line,638}]},
                                                {wings_wm,handle_event,3,
                                                 [{file,[...]},{line,...}]}]}}
My Enviroment is...
Wings3D v2.0.4
MacOSX v10.11.4
CPU: Mac mini 2.8 GHz Intel Core i5,Mem: 8GB
GPU: Intel Iris 1536 MB
---------------
tkbd
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#2
06-04-2016, 01:05 AM
Fixed!
The update cam be found here: wpc_constraints.beam
It must be put in some place like this C:\Program Files\wings3d_2.0.4\lib\wings-2.0.4\plugins\commands
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#3
06-05-2016, 03:46 AM
Thank you micheus!
The message has been displayed properly.

However,In the process to check it,I fell into a problem on the usability of constrains command.
Quote:"The ~ts constraint bound to ~ts is now set to ~p\n\n"
Currently, this message is only output in log window.
Hmm...Will this specification is made intentionally so?
Default using,an user can't notice his operation is wheather effective.

In constaraints's a modal command should be feedback to message window.
(For example, open a message dialog when constraints binding is successful.)
If you've time to spare to do,please consider it.Biggrin
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#4
06-05-2016, 06:17 AM
(06-05-2016, 03:46 AM)tkbd Wrote: Hmm...Will this specification is made intentionally so?
It seems to be.

Quote:In constaraints's a modal command should be feedback to message window.
(For example, open a message dialog when constraints binding is successful.)
If you've time to spare to do,please consider it.Biggrin
I liked the idea. The .beam file above was update.
I kept the message being output to the Log window just in case the use needs to remember about the last setting. Smile
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#5
06-11-2016, 04:03 AM
Certainly a nice idea.
It is convenient that the change history of operation remains in the log!

And...I'm grad if you would correspond the string to macro for translation.
For example ?__(key,"string")
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#6
06-11-2016, 02:49 PM
(06-11-2016, 04:03 AM)tkbd Wrote: And...I'm grad if you would correspond the string to macro for translation.
For example ?__(key,"string")
I did that. Wink
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode