sculpt-dev: Update chat link

Also fixed a nullptr crash.
This commit is contained in:
Joseph Eagar 2022-05-25 09:58:43 -07:00
parent 4b41114f67
commit 445af8da7a
2 changed files with 5 additions and 1 deletions

View File

@ -2943,7 +2943,7 @@ link below.
for line in msg.split("\n"):
layout.label(text=line)
url = "https://blender.chat/channel/sculpt-paint-texture-module"
url = "https://blender.chat/channel/sculpt-paint-texture"
props = layout.operator("wm.url_open", text=url)
props.url = url

View File

@ -1912,6 +1912,10 @@ static bool draw_subdiv_create_requested_buffers(const Scene *scene,
BKE_modifiers_findby_session_uuid(ob, &mesh->runtime.subsurf_session_uuid));
BLI_assert(smd);
if (!smd) {
return false;
}
const bool is_final_render = DRW_state_is_scene_render();
SubdivSettings settings;