Dealga McArdle
Dealga McArdle
@portnov ```python """ >in shape_v v >in shape_f s in count s d=50 n=2 in min_distance s d=0.10 n=2 out out_verts v """ import bmesh from sverchok.utils.field.probe import field_random_probe from...
> That error is not a problem, it just means your parameters are not realistic given your mesh. naturally. exactly my point. it makes little sense to have two parameters...
i'm probably missing the point, but i'll bow out of this convo now :)
@Durman this also gives that warning? https://gist.github.com/3e79200c56819938ee1c7382db40879f i can't get that error to appear.
i see what you mean now. the `presets panel` must be open (edit: Folded Down), to get this error. ```console Saved: 'C:\tmp\0026.png' Time: 00:00.54 (Saving: 00:00.16) 2021-08-30 17:25:43,846 [ERROR] sverchok.utils.nodes_mixins.generating_objects:42...
- we could add a loop through the nodeviews, and foldup any sverchok-presets-panels in a `render_init` handler, - https://docs.blender.org/api/current/bpy.app.handlers.html#note-on-altering-data
if no better solution is found. hiding (or folding up) the panel is an option. Realistically we aren't going to be modifying the nodetrees anyway while rendering. If people want...
i don't think we can close the panel ( `space.show_region_toolbar = False`) from a `render_init` handler, even if we wanted to. Not like this anyway. ```python import bpy def render_init_func(scene):...
https://github.com/nortikin/sverchok/pull/4319 ? but instead of returning early it could display `layout.label(text="Presets panel is disabled while rendering")`
if the draw function returns before this part there are no errors/warning ```python return if not panel_props.search_text: layout.prop(panel_props, 'category', text='') ``` but if you do return directly after it ```python...