Vector property subtype DIRECTION error - driver add, zero value #47826

Closed
opened 2016-03-16 20:09:47 +01:00 by Alexey · 5 comments

System Information
Operating system and graphics card

Blender Version
Broken: (All)
Worked: (None)

Short description of error
1.png
2.png
3.png
4.png
5.png
7.png
Exact steps for others to reproduce the error
Normal.blend
open this file, run script "normal" - we will have proper panel with custom property
run "fade to zero" - we will set (0,0,0) and can not change it by interface
run "set any other" - we will set not equal(0,0,0), and then can change this property by interface
repeat it with driver add/remove/set any other

**System Information** Operating system and graphics card **Blender Version** Broken: (All) Worked: (None) **Short description of error** ![1.png](https://archive.blender.org/developer/F294542/1.png) ![2.png](https://archive.blender.org/developer/F294544/2.png) ![3.png](https://archive.blender.org/developer/F294546/3.png) ![4.png](https://archive.blender.org/developer/F294548/4.png) ![5.png](https://archive.blender.org/developer/F294550/5.png) ![7.png](https://archive.blender.org/developer/F294553/7.png) **Exact steps for others to reproduce the error** [Normal.blend](https://archive.blender.org/developer/F294555/Normal.blend) open this file, run script "normal" - we will have proper panel with custom property run "fade to zero" - we will set (0,0,0) and can not change it by interface run "set any other" - we will set not equal(0,0,0), and then can change this property by interface repeat it with driver add/remove/set any other
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Inwader77

Added subscriber: @Inwader77

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2016-03-22 16:27:53 +01:00

If i understood you correct then it's not really a bug. Thing here is that in interface you're operating with direction and in order to change it you need to know the direction. However, value of (0, 0, 0) is a zero-vector which is a malformed direction. Changing any of the components to a non-zero solves the ambiguity and allows to properly operate with that direction.

Thanks for the report, but i don't really see a bug here so far.

If i understood you correct then it's not really a bug. Thing here is that in interface you're operating with direction and in order to change it you need to know the direction. However, value of `(0, 0, 0)` is a zero-vector which is a malformed direction. Changing any of the components to a non-zero solves the ambiguity and allows to properly operate with that direction. Thanks for the report, but i don't really see a bug here so far.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#47826
No description provided.