Bug #838

jcom.view sends a 0. at init (leftmost outlet)

Added by Pascal Baltazar almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:2011-07-17
Priority:HighDue date:
Assignee:Théo de la Hogue% Done:

0%

Category:-Spent time:-
Target version:MVC for 0.6
Branch: OS:

Description

this can be noticed by placing a print under [jcom.view samplerateRatio]

this is a bit annoying....

bugView.zip (3.51 KB) Pascal Baltazar, 2011-07-19 12:05 pm

History

#1 Updated by Pascal Baltazar almost 8 years ago

some more precisions :
this only happens when the model and the view are created at the same time - when they are created separately, the problem doesn't happen...

From the Max log generated with the attached patch, a value is output from jcom.view second outlet just before the model is created

#2 Updated by Théo de la Hogue almost 8 years ago

  • Status changed from New to Resolved

this bug was due to a refresh of the view even if the value of the Data wasn't initialized.
I added a test on mInitialized in TTData::getValue() to fix this.

#3 Updated by Pascal Baltazar almost 8 years ago

  • Status changed from Resolved to Closed

seems OK, closing the issue

Also available in: Atom PDF