{"push_id":2470268875,"size":1,"distinct_size":0,"ref":"refs/heads/RB-1.8","head":"7992fca485f59031d0f9de9b1f6098c6f285da55","before":"aaabd9022681557316d0528ea41d0b6ec00d0603","commits":[{"sha":"7992fca485f59031d0f9de9b1f6098c6f285da55","author":{"name":"Larry Gritz","email":"f0a1ce6f80112d72f7276457fd261d671b827567@larrygritz.com"},"message":"SS attrib \"error_repeats\" controls suppression of repeat errors & warnings (880)\n\nPreviously, exactly identical error and warning messages (including from\nshaders themselves) printed the first time and suppressed the duplicates.\nThe rationale is that an error in a shader could easily turn into thousands\nof error messages if duplicates weren't suppressed.\nThere wasn't a way to turn this behavior off.\n\nNow it's controlled by ShadingSystem attribute \"error_repeats\", an int,\nwhich has default value 0 (do not issue repeated errors). If changed\nto 1, repeated errors and warnings will be allowed to pass to the error\nhandler, without suppression in the ShadingSystem.\n\nFurthermore, the act of setting the attribute (to either 0 or 1) has the\nside effect of clearing the list of remembered errors. This means that\neven if you want error suppression, poking it in this way will reset the\ncounters, which might be a handy thing to do at the start of each frame\n(if you are using a single ShadingSystem to render multiple frames) so\nthat you start the counts fresh for each render, rather than for each\nShadingSystem.","distinct":false,"url":"https://api.github.com/repos/lgritz/OpenShadingLanguage/commits/7992fca485f59031d0f9de9b1f6098c6f285da55"}]}
{"actor":{"display_login":"lgritz"}}