-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matrix_out: nesting fix + recursive node #3991
Conversation
Does not vertices have too much nested levels now? |
I would not expect to get more nested levels any way. I think list of matrixes should produce plain list of vertices. |
If [m, m] produces [[v], [v]] (most usual case) |
@Durman I see your point... i will change it then |
Thanks for your quick response! 1. The newer version 3 days ago has changed a bit for the input of matrix_out Node: [removed] input_M = self.inputs['Matrix'].sv_get()
[added] input_M = params[0] 2. I printed out 2 different input_M as a test:
# FLAT MODE
#[NEW VERSION] input_M = params[0] output:
input_M = [[Matrix(((1.0, 0.0, 0.0, 0.0),
(0.0, 1.0, 0.0, 0.0),
(0.0, 0.0, 1.0, 0.0),
(0.0, 0.0, 0.0, 1.0)))]]
#[OLD VERSION] input_M2 = self.inputs['Matrix'].sv_get()
input_M2 = [Matrix(((1.0, 0.0, 0.0, 0.0),
(0.0, 1.0, 0.0, 0.0),
(0.0, 0.0, 1.0, 0.0),
(0.0, 0.0, 0.0, 1.0)))]
Since I don't have such experiences in programming, I'm guessing that ... Maybe the question is stupid but ... Thanks for your help again |
fixes matrix_out_mk2 nesting and adds recursiveNode mixin to accept lists of list of matrixes