{"id":369851,"date":"2024-05-21T04:12:30","date_gmt":"2024-05-21T04:12:30","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=369851"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=369851","title":{"rendered":"<span>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c Blender<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 PVS-Studio: &#171;\u041a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043b\u0435\u0442\u0438\u0442 \u0432\u0440\u0435\u043c\u044f&#8230; \u0410 \u0432\u0435\u0434\u044c \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443, \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u044f\u043d\u0432\u0430\u0440\u044f, Blender \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043b\u043e\u0441\u044c 30 \u043b\u0435\u0442! \u041a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u0435\u0449\u0451 \u0432\u0447\u0435\u0440\u0430 \u043c\u044b \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e \u0441 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u043e\u0448\u0438\u0431\u043e\u043a&#8230; \u041a\u0430\u043a 8 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434? \u041d\u0430\u0434\u043e \u0441\u0440\u043e\u0447\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e!&#187;.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/307\/36e\/a4b\/30736ea4bec06e5dd448bad6d4b8bba8.png\" width=\"1600\" height=\"902\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/307\/36e\/a4b\/30736ea4bec06e5dd448bad6d4b8bba8.png\"\/><\/figure>\n<h3>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0435<\/h3>\n<p>Blender \u2014 \u043f\u0440\u043e\u0435\u043a\u0442, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u043a\u0443\u043b\u044c\u0442\u043e\u0432\u044b\u0439, \u0438 \u0437\u0430\u0441\u043b\u0443\u0436\u0438\u043b \u0441 \u0442\u0435\u0447\u0435\u043d\u0438\u0435\u043c \u043b\u0435\u0442 \u0432\u0441\u0435\u043e\u0431\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043d\u0438\u0435. \u0421\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u044d\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u043e\u043c\u0443 \u0444\u0430\u043a\u0442\u0443, \u0447\u0442\u043e \u0441 2000 \u0433\u043e\u0434\u0430, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044f \u043a\u0430\u043a Open Source \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u044e\u0431\u043e\u043c\u0443 \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a\u0443, \u0445\u043e\u0442\u044f \u0431\u044b \u043c\u0430\u043b\u043e\u0441\u0442\u044c \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u043c\u0443 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c, \u0432\u043e\u043f\u043b\u043e\u0442\u0438\u0442\u044c \u0432 X-Y-Z-axis-\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0430\u043c\u044b\u0435 \u0441\u043c\u0435\u043b\u044b\u0435 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u0438.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0443 \u043d\u0435\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0412 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0442\u0430\u043a\u0438\u0435 \u0440\u0435\u043d\u0434\u0435\u0440\u044b \u043a\u0430\u043a Eevee \u0438 Cycles, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0435. \u0410 \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0435, \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0443\u0433\u043b\u0438\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c. \u0412\u043e\u043e\u0431\u0449\u0435, \u0434\u043b\u044f Blender \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 \u0430\u0434\u0434\u043e\u043d\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e! \u0415\u0441\u0442\u044c \u0438 \u043b\u043e\u0436\u043a\u0430 \u0434\u0451\u0433\u0442\u044f \u0432 \u0431\u043e\u0447\u043a\u0435 \u043c\u0451\u0434\u0430. \u0412\u0441\u0435 \u0442\u0435, \u0438 \u044f \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043a\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Blender \u0434\u043b\u044f \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u043e\u0432 \u0437\u0430 200 \u0442\u044b\u0441\u044f\u0447 \u0440\u0443\u0431\u043b\u0435\u0439, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u0432 \u043a\u0443\u0440\u0441\u0435, \u0447\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u043f\u0440\u0438\u0437\u043d\u0438\u0447\u0430\u0442\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u043d\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0448\u044c.<\/p>\n<p>\u0414\u0430, \u0434\u0430\u0432\u043d\u044b\u043c-\u0434\u0430\u0432\u043d\u043e \u043f\u0430\u0440\u0443 \u0440\u0430\u0437 \u0443 \u043c\u0435\u043d\u044f Blender \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u043b\u0441\u044f, \u0431\u043b\u0430\u0433\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435. \u0418\u043c\u0435\u043d\u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043d\u044f\u043b: \u0447\u0442\u043e\u0431\u044b \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432 \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c, \u043d\u0430\u0434\u043e \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c. \u0411\u043b\u0430\u0433\u043e YouTube \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u0443\u0447\u0443 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043a\u0443\u0440\u0441\u043e\u0432 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0443 \u0438\u043b\u0438 \u0438\u043d\u0443\u044e, \u044d&#8230; \u0448\u0442\u0443\u043a\u0443. \u041a\u0430\u043a \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e, \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u0443\u043b\u044c\u0442\u043e\u0432\u044b\u0439.<\/p>\n<p>\u0422\u0430\u043a, \u043e \u0447\u0451\u043c \u044d\u0442\u043e \u044f? \u0411\u0430\u0433\u0438! \u041d\u0435 \u0442\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0451 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u043b\u043e\u0441\u044c. \u041d\u0435\u0442! \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u0441\u0451 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e 12-14 \u0447\u0430\u0441\u043e\u0432 \u0432 \u0434\u0435\u043d\u044c, \u0438 \u0432\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e! \u041d\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u0430\u0448\u0430 \u0438\u0441\u043a\u043e\u0440\u0451\u0436\u0435\u043d\u043d\u0430\u044f \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043a\u0430\u043a \u0431\u044b \u043d\u0430\u043c\u0435\u043a\u0430\u0430\u0430\u0435\u0442, \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a. \u0414\u0443\u043c\u0430\u044e, \u043b\u044e\u0431\u043e\u0439, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Blender, \u0441\u043e \u043c\u043d\u043e\u0439 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0441\u044f. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u043b\u0435\u0434\u0438\u043b \u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 Transform, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 Scale \u2014 \u044d\u0442\u043e \u0431\u0430\u0437\u0430, \u044d\u0442\u043e \u0437\u043d\u0430\u0442\u044c \u043d\u0430\u0434\u043e!<\/p>\n<p>\u0410 \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u0441\u0442\u0430\u0442\u044c\u044e \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u044f \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0431\u043e\u043d\u0443\u0441.<\/p>\n<p>\u041a\u043e\u043c\u043c\u0438\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442: <a href=\"https:\/\/github.com\/blender\/blender\/tree\/91b4f9f1f609e1cd119dc41943cfb2c2276092ac\">76092ac<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u0446\u0435\u043b\u0438 \u043e\u0431\u0435\u0441\u0446\u0435\u043d\u0438\u0442\u044c \u0442\u0440\u0443\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430. \u041c\u043d\u0435 \u043e\u043d \u043e\u0447\u0435\u043d\u044c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f! \u0426\u0435\u043b\u044c \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043e\u0442\u0447\u0451\u0442\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<\/div>\n<\/details>\n<h3>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u043a\u043e\u0434\u0430 \u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e, \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044f \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432 \u044d\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0447\u0430\u0441\u0442\u043e \u043c\u043d\u0435 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e: \u0431\u0430\u0433 \u044d\u0442\u043e \u0438\u043b\u0438 \u0444\u0438\u0447\u0430. \u0427\u0430\u0441\u0442\u043e \u043a\u043e\u0434 \u043e\u0447\u0435\u043d\u044c \u0437\u0430\u043f\u0443\u0442\u0430\u043d, \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0451\u043c \u0441\u043b\u043e\u0436\u043d\u043e \u0438 \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0448\u0438\u0431\u043e\u043a \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d, \u0440\u0430\u0437\u0431\u043e\u0440 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0451\u043d. \u041c\u043e\u0436\u043d\u043e \u0441 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435 \u0436\u0430\u043b\u043a\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u0434\u0430\u043b\u0435\u0435, \u0432 \u043f\u0440\u0438\u0441\u0443\u0449\u0435\u0439 \u043c\u043d\u0435 \u043c\u0430\u043d\u0435\u0440\u0435, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0432\u0430\u043c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u043a\u043e\u0434\u0430 Blender, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445, \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 PVS-Studio, \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430.<\/p>\n<p>\u041f\u0440\u0438\u0441\u0442\u0451\u0433\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c, \u0438 \u0434\u0430 \u043d\u0430\u0447\u043d\u0451\u0442\u0441\u044f \u0440\u0430\u0437\u0431\u043e\u0440!<\/p>\n<h3>\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u0431\u0430\u0433\u0438<\/h3>\n<p>\u0412\u0434\u043e\u0445\u043d\u043e\u0432\u043b\u044f\u044f\u0441\u044c \u0438\u0434\u0435\u0435\u0439 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430 \u043a\u043e\u0434\u0430 Blender \u0438 \u043e\u0442\u043a\u0440\u044b\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432: &#171;<em>\u0418\u0434\u0435\u044f \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u0430. \u0422\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u0430 \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0435\u0451 \u043a\u043e\u0434 \u0438 \u043f\u043e\u043d\u044f\u0442\u044c, \u0433\u0434\u0435 \u0431\u0430\u0433\u0438, \u0447\u0442\u043e \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0438 \u043a\u0430\u043a<\/em>&#171;.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N1<\/strong><\/p>\n<pre><code class=\"cpp\">void Cryptomatte::begin_sync() {   const eViewLayerEEVEEPassType enabled_passes =                                                      static_cast&lt;eViewLayerEEVEEPassType>(       inst.film.enabled_passes_get() &amp;       (  EEVEE_RENDER_PASS_CRYPTOMATTE_OBJECT |           EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET  |          EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET ) );   ....    } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v501\/\">V501<\/a> There are identical sub-expressions &#8216;EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET&#8217; to the left and to the right of the &#8216;|&#8217; operator. eevee_cryptomatte.cc 18<\/p>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0431\u0430\u0433: \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 <em>EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET<\/em> \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0441\u043a\u0438. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433\u0430\u044f \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u2014 <em>EEVEE_RENDER_PASS_CRYPTOMATTE_MATERIAL = (1 &lt;&lt; 18)<\/em>.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N2<\/strong><\/p>\n<pre><code class=\"cpp\">void MeshFromGeometry::create_edges(Mesh *mesh) {   ....   for (int i = 0; i &lt; tot_edges; ++i)    {     ....     dst_edge[0] = mesh_geometry_.global_to_local_vertices_                                 .lookup_default(src_edge[0], 0);     dst_edge[1] = mesh_geometry_.global_to_local_vertices_                                 .lookup_default(src_edge[1], 0);     BLI_assert(   dst_edge[0] &lt; total_verts                &amp;&amp; dst_edge[0] &lt; total_verts);    }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v501\/\">V501<\/a> There are identical sub-expressions &#8216;dst_edge[0] &lt; total_verts&#8217; to the left and to the right of the &#8216;&amp;&amp;&#8217; operator. obj_import_mesh.cc 266<\/p>\n<p>\u041b\u0435\u0432\u043e\u0435 \u0438 \u043f\u0440\u0430\u0432\u043e\u0435 \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e &#171;\u0418&#187; \u0432 <em>BLI_assert<\/em> \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c\u0441\u044f <em>dst_edge[1]<\/em> \u0432\u043c\u0435\u0441\u0442\u043e <em>dst_edge[0]<\/em>.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N3<\/strong><\/p>\n<pre><code class=\"cpp\">static void get_nearest_fcurve_verts_list (bAnimContext *ac,                                             const int mval[2],                                            ListBase *matches) {   ....   filter = (ANIMFILTER_DATA_VISIBLE  |             ANIMFILTER_CURVE_VISIBLE |                      ANIMFILTER_FCURVESONLY   |                  ANIMFILTER_NODUPLIS      |              ANIMFILTER_FCURVESONLY);          .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v501\/\">V501<\/a> There are identical sub-expressions &#8216;ANIMFILTER_FCURVESONLY&#8217; to the left and to the right of the &#8216;|&#8217; operator. graph_select.cc 178<\/p>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u2014 \u043a\u0430\u043a \u043e\u0434\u043d\u0430 \u0438\u0437 \u0444\u043e\u0440\u043c \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0430. \u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u0441\u0451 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e!<\/p>\n<p>\u041a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u0438 \u0431\u0430\u0433\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0442\u044c.<\/p>\n<p>\u042d\u0442\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e!<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0435 \u043c\u043d\u043e\u0433\u043e. \u041c\u043e\u0433\u0443 \u043b\u0438\u0448\u044c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0447\u0430\u0441\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u0431\u0430\u0433\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435.<\/p>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0438<\/h3>\n<p><em>&#171;\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 <\/em><a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v522\/\"><em>V522<\/em><\/a><em> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u0442 \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u2014 \u043b\u0438\u0448\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u0430 \u043d\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f&#187;.<\/em><\/p>\n<p>\u0420\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u2014 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u0430\u044f. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0438\u0437-\u0437\u0430 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043a\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041a\u0430\u043a \u044d\u0442\u0438 \u0431\u0430\u0433\u0438 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b? \u041a\u0430\u043a \u0438\u0445 \u043d\u0430\u0439\u0442\u0438? \u0423 \u043d\u0430\u0441 \u0441 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c \u0435\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u044d\u0442\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0430\u0440\u043e\u0447\u043a\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0431\u043e\u0440\u0430.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N4<\/strong><\/p>\n<pre><code class=\"cpp\">static bool gpencil_stroke_eraser_is_occluded (tGPsdata *p, bGPDlayer *gpl,                                                bGPDspoint *pt, const int x,                                                const int y) {   Object *obact = (Object *)p->ownerPtr.data;   Brush *brush = p->brush;   Brush *eraser = p->eraser;   BrushGpencilSettings *gp_settings = nullptr;    if (brush->gpencil_tool == GPAINT_TOOL_ERASE)    {     gp_settings = brush->gpencil_settings;   }   else    if ((eraser != nullptr) &amp;                               \/\/ &lt;=            (eraser->gpencil_tool == GPAINT_TOOL_ERASE))    {     gp_settings = eraser->gpencil_settings;   }    if ((gp_settings != nullptr) &amp;&amp;        (gp_settings->flag &amp; GP_BRUSH_OCCLUDE_ERASER) ) {     RegionView3D *rv3d = static_cast&lt;RegionView3D *>(p->region->regiondata);      ....   return false; } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v522\/\">V522<\/a> Dereferencing of the null pointer &#8216;eraser&#8217; might take place. Check the bitwise operation. gpencil_paint.cc 1429<\/p>\n<p>\u041a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f \u0438 \u0435\u0433\u043e \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442. \u0415\u0441\u043b\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b <em>&amp;<\/em>, \u0433\u043e\u0440\u0434\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0439 \u0434\u0432\u0430 \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0437\u0434\u0435\u0441\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u0430\u043c\u043f\u0435\u0440\u0441\u0430\u043d\u0442 <em>&amp;&amp;<\/em> \u043a\u0430\u043a \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u0438 \u043d\u0438\u0436\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u043a\u043e\u0434 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0432, \u043a\u0430\u043a\u043e\u0432 \u043e\u043d \u0438 \u0435\u0441\u0442\u044c: \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u043e\u0433\u043e &#171;\u0418&#187; \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442 \u0442\u0430\u043a\u0436\u0435 \u0438 \u043f\u0440\u0430\u0432\u043e\u0435 \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u0443\u0435\u0442 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 \u0444\u0430\u0439\u043b\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0451 \u043e\u0434\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0436\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0435:<\/p>\n<ul>\n<li>\n<p>V522 Dereferencing of the null pointer &#8216;eraser&#8217; might take place. Check the bitwise operation. gpencil_paint.cc 1821<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N5<\/strong><\/p>\n<pre><code class=\"cpp\">void ui_draw_popover_back (ARegion *region, uiStyle * \/*style*\/,                             uiBlock *block,  rcti *rect          ) {   ....   if (block)    {     float mval_origin[2] = {float(block->bounds_offset[0]),                              float(block->bounds_offset[1])};     ui_window_to_block_fl (region, block, &amp;mval_origin[0], &amp;mval_origin[1]);     ui_draw_popover_back_impl (wt->wcol_theme, rect, block->direction,                                U.widget_unit \/ block->aspect, mval_origin);   }   else    {     const float zoom = 1.0f \/ block->aspect;               \/\/ &lt;=     wt->state (wt, &amp;STATE_INFO_NULL, UI_EMBOSS_UNDEFINED);     wt->draw_block (&amp;wt->wcol, rect, 0, 0, zoom);   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v522\/\">V522<\/a> Dereferencing of the null pointer &#8216;block&#8217; might take place. interface_widgets.cc 5294<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043a\u0443\u0441\u043e\u0447\u043a\u0435 \u043a\u043e\u0434\u0430 \u0435\u0441\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u043b\u043e\u0433\u0438\u043a\u0435. \u0415\u0441\u043b\u0438 <em>block == nullptr<\/em>, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0432\u0435\u0442\u043a\u0430 <em>else<\/em>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0451\u0442 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f <em>block.<\/em><\/p>\n<p>\u0418 \u0442\u0430\u043a\u043e\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043d\u0435 \u043e\u0434\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>V522 Dereferencing of the null pointer &#8217;em&#8217; might take place. <a href=\"http:\/\/transform.cc\">transform.cc<\/a> 2117<\/p>\n<\/li>\n<li>\n<p>V522 Dereferencing of the null pointer &#8216;mesh&#8217; might take place. MOD_cloth.cc 108<\/p>\n<\/li>\n<li>\n<p>V522 Dereferencing of the null pointer &#8216;data.mval_fl&#8217; might take place. editmesh_select.cc 801<\/p>\n<\/li>\n<\/ul>\n<h3>\u0423\u0441\u043b\u043e\u0432\u0438\u0435&#8230; \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f&#8230;<\/h3>\n<p><em>&#171;\u0411\u0435\u0437\u0443\u043c\u0438\u0435 \u2014 \u044d\u0442\u043e \u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f. \u0420\u0430\u0437 \u0437\u0430 \u0440\u0430\u0437\u043e\u043c, \u0432 \u043d\u0430\u0434\u0435\u0436\u0434\u0435 \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435. \u042d\u0442\u043e \u0435\u0441\u0442\u044c \u0431\u0435\u0437\u0443\u043c\u0438\u0435&#187;<\/em>, \u2014 \u0412\u0430\u0430\u0441, FarCry 3.<\/p>\n<p>\u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0438\u0447\u043d\u043e: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0431\u0430\u0433, \u043c\u044b \u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0430 \u043e\u043d\u0430 \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0434 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439, \u0447\u0442\u043e \u0436\u0435 \u043d\u0435 \u0442\u0430\u043a? \u0411\u0435\u0433\u0430\u0435\u043c \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0438 \u0442\u043e\u043c\u0443 \u0436\u0435 \u043a\u043e\u0434\u0443 \u0443\u0436\u0435 \u043f\u043e\u043b\u0447\u0430\u0441\u0430 \u0438 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0432 \u0447\u0451\u043c \u0434\u0435\u043b\u043e. \u0427\u0443\u0434\u0435\u0441\u0430, \u0434\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e! \u0410 \u043f\u043e\u0442\u043e\u043c, \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u0434\u043b\u044f \u0441\u0430\u043c\u0438\u0445 \u0441\u0435\u0431\u044f, \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432 \u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0433\u0434\u0435 \u0438 \u043d\u0435 \u0434\u0443\u043c\u0430\u043b\u0438 \u0435\u0451 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c. \u041e\u0448\u0438\u0431\u043a\u0438 \u0432 \u043b\u043e\u0433\u0438\u043a\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0430\u0441\u0442\u043e \u043b\u043e\u0433\u0438\u043a\u0443 \u043f\u0435\u0440\u0435\u0443\u0441\u043b\u043e\u0436\u043d\u044f\u044e\u0442, \u0430 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u0438 \u043c\u044b\u0441\u043b\u0438 \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N6<\/strong><\/p>\n<pre><code class=\"cpp\">void BLI_threadpool_init(ListBase *threadbase,                          void *(*do_thread)(void *),                          int tot) {   ....   if (threadbase != nullptr &amp;&amp; tot > 0)    {     ....     if (tot > RE_MAX_THREAD)      {       tot = RE_MAX_THREAD;     }     else if (tot &lt; 1)    \/\/ &lt;=     {       tot = 1;     }     ....   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v547\/\">V547<\/a> Expression &#8216;tot &lt; 1&#8217; is always false. <a href=\"http:\/\/threads.cc\">threads.cc<\/a> 131<\/p>\n<p>\u0422\u0443\u0442 \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e: \u0435\u0441\u043b\u0438 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435, \u0442\u043e \u043c\u044b \u043d\u0430\u0439\u0434\u0451\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 *tot > 0. *\u041f\u0440\u0438 \u044d\u0442\u043e\u043c <em>tot<\/em> \u0438\u043c\u0435\u0435\u0442 \u0442\u0438\u043f <em>int<\/em>, \u0438 \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 0, \u0442\u043e \u043c\u0435\u043d\u044c\u0448\u0435 1 \u0443\u0436\u0435 \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0443\u0441\u043b\u043e\u0432\u0438\u0435 <em>tot &lt; 1<\/em> \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 <em>false<\/em>. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c, \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0431\u0440\u0430\u0432 \u044d\u0442\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N7<\/strong><\/p>\n<pre><code class=\"cpp\">enum {   ALIGN_WORLD = 0,   ALIGN_VIEW,   ALIGN_CURSOR, };  bool ED_object_add_generic_get_opts(bool *r_is_view_aligned, ....) {   ....     if (RNA_struct_property_is_set(op->ptr, \"rotation\"))      {       ....     }     else      {       int alignment = ALIGN_WORLD;       PropertyRNA *prop = RNA_struct_find_property(op->ptr, \"align\");        if (RNA_property_is_set(op->ptr, prop))        {         *r_is_view_aligned = alignment == ALIGN_VIEW;          alignment = RNA_property_enum_get(op->ptr, prop);       }     }   .... } <\/code><\/pre>\n<p>\u041e\u0441\u0442\u0430\u0432\u043b\u044e \u0432\u0430\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0432 \u0447\u0451\u043c \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e49\/032\/1ca\/e490321cac645baf6f364f557164c42d.png\" width=\"300\" height=\"1060\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e49\/032\/1ca\/e490321cac645baf6f364f557164c42d.png\"\/><\/figure>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v547\/\">V547<\/a> Expression &#8216;alignment == ALIGN_VIEW&#8217; is always false. object_add.cc 544<\/p>\n<p>\u0422\u0430\u043a, \u043e \u0447\u0451\u043c \u044d\u0442\u043e \u044f? \u041f\u043e\u0432\u043e\u0434\u043e\u043c, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b\u0430 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430, \u0430 \u0443\u0431\u0438\u0439\u0446\u0435\u0439 \u0431\u044b\u043b \u0434\u0432\u043e\u0440\u0435\u0446\u043a\u0438\u0439. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <em>r_is_view_aligned<\/em> \u0438\u043c\u0435\u0435\u0442 \u0442\u0438\u043f <em>bool *<\/em>, \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0432\u043d\u0430 <em>false<\/em>. \u041f\u0440\u0438\u0447\u0451\u043c, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u043f\u0440\u0430\u0432\u0430 \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f == \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u043c, \u0438\u043b\u0438 \u0432\u0441\u0451 \u0436\u0435 \u0442\u0430\u043a \u0438 \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043e? \u0410\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f, \u043d\u043e \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0430\u0448\u043b\u0438, \u0430 \u0442\u0430\u043c \u0443\u0436\u0435 \u0438 \u0434\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u0434\u0430\u043b\u0435\u043a\u043e. \u041c\u0435\u043b\u043e\u0447\u044c, \u0430 \u043f\u0440\u0438\u044f\u0442\u043d\u043e!<\/p>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\n<p>V547 Expression &#8216;changed == false&#8217; is always true. editmesh_tools.cc 1456<\/p>\n<\/li>\n<li>\n<p>V547 Expression &#8216;ob->type == OB_GPENCIL_LEGACY&#8217; is always true. gpencil_edit.cc 130<\/p>\n<\/li>\n<li>\n<p>V547 Expression &#8216;closure_count > i&#8217; is always true. eevee_raytrace.cc 371<\/p>\n<\/li>\n<li>\n<p>V547 Expression &#8216;retval == OPERATOR_FINISHED&#8217; is always false. wm_gizmo_group.cc 490<\/p>\n<\/li>\n<\/ul>\n<h3>\u042f \u0445\u043e\u0447\u0443 \u0441\u044b\u0433\u0440\u0430\u0442\u044c \u0441 \u0432\u0430\u043c\u0438 \u0432 \u043e\u0434\u043d\u0443 \u0438\u0433\u0440\u0443&#8230; \u041d\u0430 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h3>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N8<\/strong><\/p>\n<pre><code class=\"cpp\">void BKE_gpencil_stroke_copy_settings(const bGPDstroke *gps_src,                                       bGPDstroke *gps_dst) {   gps_dst->thickness = gps_src->thickness;   gps_dst->flag = gps_src->flag;   gps_dst->inittime = gps_src->inittime;   gps_dst->mat_nr = gps_src->mat_nr;   copy_v2_v2_short(gps_dst->caps, gps_src->caps);   gps_dst->hardness = gps_src->hardness;   copy_v2_v2(gps_dst->aspect_ratio, gps_src->aspect_ratio);   gps_dst->fill_opacity_fac = gps_dst->fill_opacity_fac; \/\/ &lt;=   copy_v3_v3(gps_dst->boundbox_min, gps_src->boundbox_min);   copy_v3_v3(gps_dst->boundbox_max, gps_src->boundbox_max);   gps_dst->uv_rotation = gps_src->uv_rotation;   copy_v2_v2(gps_dst->uv_translation, gps_src->uv_translation);   gps_dst->uv_scale = gps_src->uv_scale;   gps_dst->select_index = gps_src->select_index;   copy_v4_v4(gps_dst->vert_color_fill, gps_src->vert_color_fill); } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v570\/\">V570<\/a> The &#8216;gps_dst->fill_opacity_fac&#8217; variable is assigned to itself. gpencil_legacy.cc 1029<\/p>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <em>gps_dst->fill_opacity_fac<\/em> \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0430 \u0441\u0435\u0431\u0435. \u041c\u043e\u0436\u0435\u0442, \u0442\u0430\u043a \u0438 \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043e? \u041d\u0435\u0442. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0438\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0431\u044b\u0442\u044c \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430, \u0438 \u0432 \u043f\u0440\u0430\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u0427\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 <em>gps_src->fill_opacity_fac<\/em>. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 Copy\/Paste?<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N9<\/strong><\/p>\n<pre><code class=\"cpp\">static int gizmo_cage2d_modal(....) {   ....   if ((transform_flag &amp; ED_GIZMO_CAGE_XFORM_FLAG_SCALE_UNIFORM) == 0)    {     const bool use_temp_uniform = (event->modifier &amp; KM_SHIFT) != 0;     const bool changed = data->use_temp_uniform != use_temp_uniform;     data->use_temp_uniform = data->use_temp_uniform;     ....   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v570\/\">V570<\/a> The &#8216;data->use_temp_uniform&#8217; variable is assigned to itself. cage2d_gizmo.cc 1094<\/p>\n<p>\u0418 \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 Copy\/Paste. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432 \u0438\u0442\u043e\u0433\u0435 \u0432\u0441\u0451 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">data->use_temp_uniform = use_temp_uniform; <\/code><\/pre>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N10<\/strong><\/p>\n<pre><code class=\"cpp\">static void space_text_update_drawcache(SpaceText *st,                                         const ARegion *region) {   ....   if (st->wordwrap)    {     ....     if (drawcache->update)      {       drawcache->valid_tail = drawcache->valid_head = 0;       ....       memmove(new_tail, old_tail, drawcache->valid_tail);       ....     }     ....   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v575\/\">V575<\/a> The &#8216;memmove&#8217; function processes &#8216;0&#8217; elements. Inspect the third argument. text_draw.cc 673<\/p>\n<p>\u0421\u0442\u0440\u0430\u043d\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u0438 0 \u0431\u0430\u0439\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N11<\/strong><\/p>\n<pre><code class=\"cpp\">void ui_but_value_set(uiBut *but, double value) {   ....     if (but->editval) {       value = *but->editval = value;     }     else     ....   ui_but_update_select_flag(but, &amp;value); } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v570\/\">V570<\/a> The same value is assigned twice to the &#8216;value&#8217; variable. <a href=\"http:\/\/interface.cc\">interface.cc<\/a> 2676<\/p>\n<p>\u041a\u0430\u043a \u0432\u044b \u0434\u0443\u043c\u0430\u0435\u0442\u0435, \u0442\u0430\u043a \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043e, \u0438\u043b\u0438 \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430? \u041e\u0441\u0442\u0430\u0432\u043b\u044e \u0432\u043e\u043f\u0440\u043e\u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c, \u0437\u043d\u0430\u0435\u0442\u0435, \u043a\u0430\u043a \u0432 \u043f\u043b\u043e\u0445\u0438\u0445 \u0444\u0438\u043b\u044c\u043c\u0430\u0445 \u0443\u0436\u0430\u0441\u043e\u0432.<\/p>\n<h3>\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0431\u043e\u0433\u0443 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f!<\/h3>\n<p><em>&#171;\u041a\u0442\u0443\u043b\u0445\u0443 \u0444\u0445\u0442\u0430\u0433\u043d, \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u043c\u043e\u0438! \u0418 \u043f\u0440\u0430\u0432\u0434\u0430, \u043a\u0442\u043e \u0435\u0449\u0451, \u043a\u0430\u043a \u043d\u0438 \u0441\u043f\u044f\u0449\u0438\u0439, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u043e\u0439\u0442\u0438 \u043d\u0430 \u0440\u043e\u043b\u044c \u0431\u043e\u0433\u0430 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f? \u041e\u0434\u043d\u0430\u043a\u043e \u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u0435\u0435 \u0432 \u0441\u0432\u043e\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u0445, \u0432\u044b \u0436\u0435 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0435\u0433\u043e \u043f\u0440\u043e\u0431\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0447\u0430\u0441\u0430? \u0412 \u043a\u043e\u0434\u0435 \u0443\u0436\u0435 \u0438 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0445\u0430\u043e\u0441\u0430!&#187;<\/em><\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N12<\/strong><\/p>\n<pre><code class=\"cpp\">static void rigidbody_update_ob_array(RigidBodyWorld *rbw) {   if (rbw->group == nullptr)    {     rbw->numbodies = 0;     rbw->objects = static_cast&lt;Object **>(realloc(rbw->objects, 0)); \/\/ &lt;=     return;   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v575\/\">V575<\/a> The &#8216;realloc&#8217; function processes &#8216;0&#8217; elements. Inspect the second argument. <a href=\"http:\/\/rigidbody.cc\">rigidbody.cc<\/a> 1696<\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430 \u042123, \u0435\u0441\u043b\u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0430\u043c\u044f\u0442\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0443\u0447\u0430\u0441\u0442\u043a\u0430 \u043f\u0430\u043c\u044f\u0442\u0438 \u0440\u0430\u0432\u0435\u043d \u043d\u0443\u043b\u044e, \u0442\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c. \u041a\u0441\u0442\u0430\u0442\u0438, \u0441 \u042117 \u0442\u0430\u043a\u043e\u0439 \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N13<\/strong><\/p>\n<pre><code class=\"cpp\">void BKE_vfont_build_char(....) {   ....   BezTriple *bezt2 = (BezTriple *)MEM_malloc_arrayN(u,                                                      sizeof(BezTriple),                                                     \"duplichar_bezt2\" );   ....   for (int i = nu2->pntsu; i > 0; i--)    {     float *fp = bezt2->vec[0];         fp[0] = (fp[0] + ofsx) * fsize;     fp[1] = (fp[1] + ofsy) * fsize;     fp[3] = (fp[3] + ofsx) * fsize;     fp[4] = (fp[4] + ofsy) * fsize;     fp[6] = (fp[6] + ofsx) * fsize;     fp[7] = (fp[7] + ofsy) * fsize;     bezt2++;   }    .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v557\/\">V557<\/a> Array overrun is possible. The &#8216;7&#8217; index is pointing beyond array bound. <a href=\"http:\/\/vfont.cc\">vfont.cc<\/a> 612<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0430\u043c \u043c\u0430\u0441\u0441\u0438\u0432:<\/p>\n<pre><code class=\"cpp\">typedef struct BezTriple  {   float vec[3][3];   .... } <\/code><\/pre>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0432\u044b\u0434\u0430\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0435 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u0435, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 <em>fp[3].<\/em> \u0421 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c <em>bezt2->vec[3][3]<\/em> \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u0441 \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u043c. \u0414\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u044b \u0441\u0447\u0438\u0442\u0430\u044e\u0442, \u0447\u0442\u043e \u043e\u043d\u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u0435\u043b\u0430\u044e\u0442 \u0432\u0441\u0451 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d\u043d\u044b\u0445 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043d\u0435 \u0431\u044b\u0432\u0430\u0435\u0442.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u043d\u043e\u0432\u0435\u0439\u0448\u0438\u0435 \u0438 \u043c\u043e\u0449\u043d\u0435\u0439\u0448\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0434\u043b\u044f \u044f\u0437\u044b\u043a\u043e\u0432 \u0421 \u0438 \u0421++, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f\u043c\u0438, \u0434\u0430\u0440\u044f\u0442 \u0432\u044b\u0441\u0448\u0443\u044e \u043d\u0430\u0433\u0440\u0430\u0434\u0443 \u0432 \u043d\u043e\u043c\u0438\u043d\u0430\u0446\u0438\u0438 &#171;\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0433\u043e\u0434\u0430 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043d\u0435\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f&#187; \u0432\u0435\u0440\u0443\u044e\u0449\u0438\u043c \u0432 \u0438\u0441\u0442\u0438\u043d\u0443 \u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u043a\u0430\u043a \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0445.<\/p>\n<p>\u041a\u0430\u043a-\u0442\u043e \u043c\u043e\u0439 \u043a\u043e\u043b\u043b\u0435\u0433\u0430 \u0410\u043d\u0442\u043e\u043d \u0422\u0440\u0435\u0442\u044c\u044f\u043a\u043e\u0432 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u044e &#171;<a href=\"https:\/\/pvs-studio.ru\/ru\/blog\/posts\/cpp\/1066\/\">\u041a\u0432\u0430! \u041a\u0430\u043a \u043f\u0438\u0441\u0430\u043b\u0438 \u043a\u043e\u0434 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0430 Quake<\/a>&#171;, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u044b\u043b \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u043b, \u043f\u043e\u0447\u0435\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u043c\u0435\u0440\u043d\u044b\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043a\u0430\u043a \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0435 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e. \u0421\u043e\u0432\u0435\u0442\u0443\u044e \u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0439 \u043a\u043e\u043b\u043b\u0435\u0433\u0430 \u0424\u0438\u043b\u0438\u043f\u043f \u0425\u0430\u043d\u0434\u0435\u043b\u044c\u044f\u043d\u0446 \u2014 \u043e\u043d \u0436\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u043c\u043e\u0438\u0445 \u043d\u0430\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u043e\u0432 \u0438 \u0434\u044f\u0434\u044c\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0451 \u2014 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0451\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 <a href=\"https:\/\/godbolt.org\/z\/9nx83GE64\">\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f<\/a>. \u0422\u0430\u043a\u0436\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f.<\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e, \u0432\u0441\u0451 \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u0432\u0441\u0451 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e. \u041d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0431\u044b\u0442\u044c \u0438\u0437-\u043f\u043e\u0434 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439. \u0412\u0441\u0435\u043c \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u0442\u0430\u043a \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c. \u0418\u0434\u0451\u043c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>&#171;\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0442\u0438\u043a\u0430 \u043f\u043e\u0438\u0441\u043a\u0430 \u043d\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u043e\u0434\u0430 \u043c\u043d\u043e\u0433\u043e, \u0445\u043e\u0434 \u043c\u044b\u0441\u043b\u0435\u0439 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u043e\u0433\u043e, \u0433\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0438 \u0435\u0451 \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0444\u043e\u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434\u0435, \u0430 \u0435\u0441\u043b\u0438 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0435\u0449\u0451 \u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0438\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043d\u0435 \u043c\u0435\u043d\u044f\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0438 \u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c \u0433\u0434\u0435-\u0442\u043e \u0442\u0430\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0441 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0432\u0441\u0435 \u0436\u0435 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f&#8230; \u0438\u043b\u0438 \u043d\u0435\u0442.&#187;<\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0438 \u043c\u044b\u0441\u043b\u044c, \u0447\u0438\u0442\u0430\u044f \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0430\u0431\u0437\u0430\u0446, \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u041d\u0430 \u0434\u0435\u043b\u0435 \u044d\u0442\u043e \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u0430 \u0432 \u043a\u043e\u0434\u0435, \u0433\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043d\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u043a\u043e\u0434\u0430 \u043c\u043d\u043e\u0433\u043e. \u041d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0434\u0435\u043b\u0435. \u0412\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439: \u043a\u043e\u0434\u0430 \u043c\u043d\u043e\u0433\u043e, \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b \u0434\u043d\u044f, \u0430 \u043f\u043e\u043d\u044f\u0442\u044c, \u0433\u0434\u0435 \u0436\u0435 \u0431\u0430\u0433, \u043d\u0430\u0434\u043e \u0435\u0449\u0451 \u0432\u0447\u0435\u0440\u0430.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N14<\/strong><\/p>\n<pre><code class=\"cpp\">static void gpencil_convert_spline(....) {   ....   float init_co[3];    switch (nu->type) {     case CU_POLY:      {       ....     }     case CU_BEZIER:      {       ....     }     case CU_NURBS:      {       if (nu->pntsv == 1)        {         ....         gpencil_add_new_points (gps, coord_array, 1.0f, 1.0f, 0,                                  gps->totpoints, init_co, false); \/\/ &lt;=         ....     }     default:      {       break;     } } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v614\/\">V614<\/a> Uninitialized buffer &#8216;init_co&#8217; used. Consider checking the seventh actual argument of the &#8216;gpencil_add_new_points&#8217; function. gpencil_curve_legacy.cc 439<\/p>\n<p>\u0422\u0430\u043a \u0432\u043e\u0442, \u0435\u0441\u043b\u0438 \u0431\u044b\u0441\u0442\u0440\u043e: \u043d\u0430\u0448\u043b\u0430\u0441\u044c <em>init_co<\/em>, \u043e\u043d\u0430 \u0436\u0435 <em>float init_co[3]<\/em>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0441\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044d\u0442\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f-\u043c\u0430\u0441\u0441\u0438\u0432 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0430, \u0434\u043e \u0442\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0433\u0434\u0435 \u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 <em>gpencil_add_new_points()<\/em>, \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0435\u0451 \u043a\u0430\u043a\u0438\u043c-\u043b\u0438\u0431\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043c\u044b \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u043c. \u0420\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u041e\u043a\u0435\u0439, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043e\u043d\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438? \u0421\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<pre><code class=\"cpp\">static void gpencil_add_new_points(....,                                    const float init_co[3],                                    const bool last) {   BLI_assert(totpoints > 0);   ....   for (int i = 0; i &lt; totpoints; i++)    {     ....     if ((last) &amp;&amp; (i > 0) &amp;&amp; (i == totpoints - 1))      {       float dist = len_v3v3(init_co, &amp;pt->x);       ....     }     ....   } } <\/code><\/pre>\n<p>\u041d\u0430\u0448 \u043c\u0438\u043d\u0438-\u043c\u0430\u0441\u0441\u0438\u0432 \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e* len_v3v3*, \u0438 \u043a\u0430\u043a\u0438\u043c\u0438-\u043b\u0438\u0431\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u043b\u0438. \u041e\u043f\u044f\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c.<\/p>\n<p>\u041f\u0440\u044b\u0433\u0430\u0435\u043c \u0432\u043d\u0443\u0442\u0440\u044c *len_v3v3 *\u0438 \u0438\u0449\u0435\u043c <em>init_co<\/em>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0442\u0435\u043f\u0435\u0440\u044c <em>a[3]<\/em>:<\/p>\n<pre><code class=\"cpp\">static __forceinline float len_v3v3(const float a[3], const float b[3]) {   float d[3];    sub_v3_v3v3(d, b, a);   return len_v3(d); } <\/code><\/pre>\n<p>\u0418 \u0435\u0449\u0451 \u0433\u043b\u0443\u0431\u0436\u0435 \u0432 *sub_v3_v3v3 *\u0437\u0430 <em>a[3]<\/em>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u0436\u0435 <em>b[3]<\/em>:<\/p>\n<pre><code class=\"cpp\">Static __forceinline void sub_v3_v3v3(float r[3], const float a[3],                                        const float b[3] ) {   r[0] = a[0] - b[0];   r[1] = a[1] - b[1];   r[2] = a[2] - b[2]; } <\/code><\/pre>\n<p>\u041f\u043e\u0438\u0441\u043a \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0443\u0441\u043f\u0435\u0445\u043e\u043c \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0441\u044f, \u0438 \u043e\u0448\u0438\u0431\u043a\u0430 \u0438\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0431\u044b\u0442\u044c. \u0413\u043b\u0430\u0432\u043d\u043e\u0435, \u043c\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u043d\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438\u0441\u043f\u0440\u0430\u0432\u044f\u0442.<\/p>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\n<p>V614 Uninitialized variable &#8216;efd.distance&#8217; used. <a href=\"http:\/\/boids.cc\">boids.cc<\/a> 133<\/p>\n<\/li>\n<li>\n<p>V614 Potentially uninitialized pointer &#8216;g_prev&#8217; used. Consider checking the third actual argument of the &#8216;blf_font_width_to_strlen_glyph_process&#8217; function. blf_font.cc 784<\/p>\n<\/li>\n<li>\n<p>V614 Uninitialized variable &#8216;dummy_matrix[0][0]&#8217; used. Consider checking the first actual argument of the &#8216;GPU_uniform&#8217; function. node_shader_tex_coord.cc 43<\/p>\n<\/li>\n<\/ul>\n<h3>\u041e\u0447\u0435\u043d\u044c \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u043b\u0430<\/h3>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N15<\/strong><\/p>\n<pre><code class=\"cpp\">typedef struct Point2Struct {   double coordinates[2];    Point2Struct() { .... }   .... } Point2;  typedef Point2 Vector2;  using BezierCurve = Vector2 *;  static BezierCurve GenerateBezier(Vector2 *d,                                   int first, int last,                                   double *uPrime,                                   Vector2 tHat1, Vector2 tHat2) {   ....   BezierCurve bezCurve; \/* RETURN bezier curve control points. *\/   ....   bezCurve = (Vector2 *)malloc(4 * sizeof(Vector2)); \/\/ &lt;=   ....   if (alpha_l &lt; 1.0e-6 || alpha_r &lt; 1.0e-6)   {     ....     bezCurve[0] = d[first]; \/\/ &lt;=     bezCurve[3] = d[last];  \/\/ &lt;=     ....   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v630\/\">V630<\/a> The &#8216;malloc&#8217; function is used to allocate memory for an array of objects which are classes containing constructors. FitCurve.cpp 129<\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f <em>malloc<\/em> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0442\u0438\u043f\u0430 <em>Point2<\/em> (<em>Vector2<\/em> \u0435\u0441\u0442\u044c \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c <em>Point2<\/em>). \u041e\u0434\u043d\u0430\u043a\u043e \u043a\u043b\u0430\u0441\u0441 <em>Point2<\/em> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043d\u0443\u043b\u044f\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 <em>coordinates<\/em>. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0432 \u043a\u043e\u0434\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435: \u043a \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 \u044d\u0442\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0435\u0449\u0451 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b\u043e.<\/p>\n<p>\u041d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u044b \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043b\u044f \u0445\u0438\u0442\u0440\u044b\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0451 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c :).<\/p>\n<p>\u041a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c? \u0421\u0430\u043c\u044b\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <em>new[]<\/em>. \u041e\u0434\u043d\u0430\u043a\u043e \u043a\u043e\u0434 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0441\u043c\u0435\u0441\u0438 \u044f\u0437\u044b\u043a\u043e\u0432 C \u0438 \u0421++, \u0438 \u0435\u0433\u043e \u043b\u043e\u0433\u0438\u043a\u0430 \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e \u0441\u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u043c\u044b \u043d\u0430\u0447\u043d\u0451\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 <em>new[]<\/em>.<\/p>\n<p>\u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b <em>new<\/em> \u0438 <em>delete<\/em> \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u043c\u043e\u0434\u043d\u043e \u0438 \u0434\u0430\u0436\u0435 \u043e\u043f\u0430\u0441\u043d\u043e \u0432\u0432\u0438\u0434\u0443 \u0442\u0430\u043a\u043e\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0435\u0440\u0442\u044b \u043a\u0430\u043a \u043d\u0435\u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u0443\u043c\u043d\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438. \u0418 \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0440\u0435\u0448\u0435\u043d\u0430, \u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c. \u041d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u043c\u043d\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043a\u043e\u0434 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c.<\/p>\n<p>\u041a\u0430\u043a\u0438\u0435 \u0435\u0449\u0451 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b? \u0415\u0441\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0432\u0441\u0451, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u044f:<\/p>\n<pre><code class=\"cpp\">static BezierCurve GenerateBezier(Vector2 *d,                                   int first, int last,                                   double *uPrime,                                   Vector2 tHat1, Vector2 tHat2) {   ....   BezierCurve bezCurve; \/* RETURN bezier curve control points. *\/   ....   bezCurve = (Vector2 *)malloc(4 * sizeof(Vector2));   std::uninitialized_default_construct_n(bezCurve, 4); \/\/ &lt;=   ....   if (alpha_l &lt; 1.0e-6 || alpha_r &lt; 1.0e-6)   {     ....     bezCurve[0] = d[first];      bezCurve[3] = d[last];      ....   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0436\u0438\u0437\u043d\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0430. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/en.cppreference.com\/w\/cpp\/memory\/uninitialized_default_construct\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p><strong>\u041a\u0430\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e C++20<\/strong>. \u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0437\u043d\u0430\u0442\u044c \u043e \u043f\u0440\u043e\u043f\u043e\u043b\u0437\u0430\u043b\u0435 <a href=\"https:\/\/www.open-std.org\/jtc1\/sc22\/wg21\/docs\/papers\/2020\/p0593r6.html\">P0593R6<\/a>, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 C++20, \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e.<\/p>\n<h3>\u041f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0435 \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0451\u043d<\/h3>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N16<\/strong><\/p>\n<p>\u041d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439 \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043e\u0447\u0435\u043d\u044c \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u044b\u0439, \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430:<\/p>\n<p><a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v762\/\">V762<\/a> It is possible a virtual function was overridden incorrectly. See first argument of function &#8216;preferred_domain&#8217; in derived class &#8216;HandlePositionFieldInput&#8217; and base class &#8216;CurvesFieldInput&#8217;. node_geo_input_curve_handles.cc 95<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0443 \u043d\u0430\u0441 \u0432 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u0430\u0445. \u0427\u0442\u043e \u043d\u0435 \u0442\u0430\u043a? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430:<\/p>\n<pre><code class=\"cpp\">typedef struct CurvesGeometry { .... };  namespace bke {   ....   class CurvesGeometry : public ::CurvesGeometry { .... };    class CurvesFieldInput : public fn::FieldInput    {     ....     virtual std::optional&lt;AttrDomain> preferred_domain(       const CurvesGeometry &amp;curves) const;   };   .... } <\/code><\/pre>\n<p>\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f <em>preferred_domain<\/em> \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0442\u0438\u043f\u0430 <em>bke::CurvesGeometry<\/em>. \u0417\u0430\u043f\u043e\u043c\u043d\u0438\u043c.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u0430:<\/p>\n<pre><code class=\"cpp\">namespace blender::nodes::node_geo_input_curve_handles_cc {   class HandlePositionFieldInput final : public bke::CurvesFieldInput    {     ....     std::optional&lt;AttrDomain> preferred_domain(       const CurvesGeometry &amp; \/*curves*\/) const;   }; } <\/code><\/pre>\n<p>\u041d\u0430\u0448\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443? \u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u043d\u0435 \u0440\u0430\u0441\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c, \u044f \u0442\u043e\u0436\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b :). \u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u0412 \u0431\u0430\u0437\u043e\u0432\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0441 \u043d\u0435\u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c <em>CurvesGeometry<\/em>. \u041a\u043e\u0433\u0434\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u044d\u0442\u043e\u0433\u043e \u0442\u0438\u043f\u0430, \u043e\u043d \u043d\u0430\u0447\u043d\u0451\u0442 \u0441 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043a\u043b\u0430\u0441\u0441\u0430 <em>CurvesFieldInput<\/em> \u0438 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u0432\u043e \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u044e\u0449\u0438\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442 \u044d\u0442\u043e\u0442 \u0442\u0438\u043f. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0439\u0434\u0435\u043d \u0442\u0438\u043f <em>bke::CurvesGeometry<\/em>.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b. \u041e\u043d\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0451\u043d, \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u043c \u043e\u0442 \u0442\u043e\u0433\u043e, \u0433\u0434\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441. \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0447\u043d\u0451\u0442 \u043f\u043e\u0438\u0441\u043a \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0438\u043c\u0435\u043d\u0438 <em>CurvesGeometry<\/em>, \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442 \u0435\u0433\u043e \u0432 \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u044e\u0449\u0438\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u044f\u0445 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u0434\u043e\u0439\u0434\u0451\u0442 \u0434\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e. \u0410 \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0451\u043d \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c <em>CurvesGeometry<\/em>, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0442\u043e\u0442, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 :).<\/p>\n<p>\u0414\u043b\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u0434\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f \u0442\u0438\u043f\u0430. \u041d\u0443 \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 C++11 (<em>override<\/em>), \u0437\u0430\u0449\u0438\u0442\u0438\u0432 \u0431\u0443\u0434\u0443\u0449\u0438\u0435 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f \u043e\u0442 \u043e\u0448\u0438\u0431\u043e\u043a:<\/p>\n<pre><code class=\"cpp\">namespace blender::nodes::node_geo_input_curve_handles_cc {   class HandlePositionFieldInput final : public bke::CurvesFieldInput    {     ....     std::optional&lt;AttrDomain> preferred_domain(       const bke::CurvesGeometry &amp; \/*curves*\/) const override;   }; } <\/code><\/pre>\n<p>\u041f\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0443 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0436\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u0432\u0430 \u043a\u043b\u0430\u0441\u0441\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0442\u0430 \u0436\u0435 \u043e\u0448\u0438\u0431\u043a\u0430:<\/p>\n<ul>\n<li>\n<p>V762 It is possible a virtual function was overridden incorrectly. See first argument of function &#8216;preferred_domain&#8217; in derived class &#8216;IndexOnSplineFieldInput&#8217; and base class &#8216;CurvesFieldInput&#8217;. node_geo_curve_spline_parameter.cc 277<\/p>\n<\/li>\n<li>\n<p>V762 It is possible a virtual function was overridden incorrectly. See first argument of function &#8216;preferred_domain&#8217; in derived class &#8216;EndpointFieldInput&#8217; and base class &#8216;CurvesFieldInput&#8217;. node_geo_curve_endpoint_selection.cc 105<\/p>\n<\/li>\n<\/ul>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u0432\u043e\u044f\u043a\u043e\u0435. \u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043c\u0435\u0440 \u0437\u0430\u0449\u0438\u0442\u044b: \u0447\u0430\u0441\u0442\u043e \u0443\u043c\u043d\u044b\u0445, \u0445\u0438\u0442\u0440\u044b\u0445 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0434\u0430\u0436\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 PVS-Studio \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u043d\u043e-\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u0435\u0439 \u044d\u0442\u043e\u0433\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430 \u043a\u043e\u0434\u0430, \u0433\u0434\u0435 \u043f\u043e\u043b \u2014 \u044d\u0442\u043e \u043b\u0430\u0432\u0430.<\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0441\u0440\u0435\u0434\u0438 \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043a\u043e\u0434\u0430, \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u0432\u0430\u043c \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043e\u043f\u044b\u0442.<\/p>\n<p>\u0422\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e <a href=\"https:\/\/pvs-studio.ru\/ru\/pvs-studio\/try-free\/?utm_source=website&amp;utm_medium=habr&amp;utm_campaign=article&amp;utm_content=1106\">\u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c<\/a> \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 PVS-Studio. \u0414\u043b\u044f Open Source \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0443 \u043d\u0430\u0441 <a href=\"https:\/\/pvs-studio.ru\/ru\/order\/open-source-license\/\">\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f<\/a> \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f.<\/p>\n<p>\u0411\u0435\u0440\u0435\u0433\u0438\u0442\u0435 \u0441\u0435\u0431\u044f \u0438 \u0432\u0441\u0435\u0433\u043e \u0434\u043e\u0431\u0440\u043e\u0433\u043e!<\/p>\n<p>\u0411\u043e\u043d\u0443\u0441 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u043b \u0434\u043e \u043a\u043e\u043d\u0446\u0430 =)<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438:<\/summary>\n<div class=\"spoiler__content\">\n<p><em>&#171;\u0418\u0437\u0433\u043e\u043d\u044f\u0435\u043c \u0431\u043e\u0433\u0430 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f (\u041a\u0442\u0443\u043b\u0445\u0443)&#187;<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/978\/c7e\/075\/978c7e0752308bd56f09a500d9f48051.png\" width=\"1600\" height=\"902\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/978\/c7e\/075\/978c7e0752308bd56f09a500d9f48051.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/63c\/30a\/43d\/63c30a43d6410b9fbfa32497b64051ba.png\" width=\"1600\" height=\"902\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/63c\/30a\/43d\/63c30a43d6410b9fbfa32497b64051ba.png\"\/><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u0441 \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0435\u0439, \u0442\u043e \u043f\u0440\u043e\u0448\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434: Alexey Gorshkov. <a href=\"https:\/\/pvs-studio.com\/en\/blog\/posts\/cpp\/1106\/\">Let&#8217;s check Blender<\/a>.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/797851\/\"> https:\/\/habr.com\/ru\/articles\/797851\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 PVS-Studio: &#171;\u041a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043b\u0435\u0442\u0438\u0442 \u0432\u0440\u0435\u043c\u044f&#8230; \u0410 \u0432\u0435\u0434\u044c \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443, \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u044f\u043d\u0432\u0430\u0440\u044f, Blender \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043b\u043e\u0441\u044c 30 \u043b\u0435\u0442! \u041a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u0435\u0449\u0451 \u0432\u0447\u0435\u0440\u0430 \u043c\u044b \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e \u0441 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u043e\u0448\u0438\u0431\u043e\u043a&#8230; \u041a\u0430\u043a 8 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434? \u041d\u0430\u0434\u043e \u0441\u0440\u043e\u0447\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e!&#187;.<\/p>\n<figure class=\"full-width\"><\/figure>\n<h3>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0435<\/h3>\n<p>Blender \u2014 \u043f\u0440\u043e\u0435\u043a\u0442, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u043a\u0443\u043b\u044c\u0442\u043e\u0432\u044b\u0439, \u0438 \u0437\u0430\u0441\u043b\u0443\u0436\u0438\u043b \u0441 \u0442\u0435\u0447\u0435\u043d\u0438\u0435\u043c \u043b\u0435\u0442 \u0432\u0441\u0435\u043e\u0431\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043d\u0438\u0435. \u0421\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u044d\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u043e\u043c\u0443 \u0444\u0430\u043a\u0442\u0443, \u0447\u0442\u043e \u0441 2000 \u0433\u043e\u0434\u0430, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044f \u043a\u0430\u043a Open Source \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u044e\u0431\u043e\u043c\u0443 \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a\u0443, \u0445\u043e\u0442\u044f \u0431\u044b \u043c\u0430\u043b\u043e\u0441\u0442\u044c \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u043c\u0443 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c, \u0432\u043e\u043f\u043b\u043e\u0442\u0438\u0442\u044c \u0432 X-Y-Z-axis-\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0430\u043c\u044b\u0435 \u0441\u043c\u0435\u043b\u044b\u0435 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u0438.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0443 \u043d\u0435\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0412 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0442\u0430\u043a\u0438\u0435 \u0440\u0435\u043d\u0434\u0435\u0440\u044b \u043a\u0430\u043a Eevee \u0438 Cycles, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0435. \u0410 \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0435, \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0443\u0433\u043b\u0438\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c. \u0412\u043e\u043e\u0431\u0449\u0435, \u0434\u043b\u044f Blender \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 \u0430\u0434\u0434\u043e\u043d\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e! \u0415\u0441\u0442\u044c \u0438 \u043b\u043e\u0436\u043a\u0430 \u0434\u0451\u0433\u0442\u044f \u0432 \u0431\u043e\u0447\u043a\u0435 \u043c\u0451\u0434\u0430. \u0412\u0441\u0435 \u0442\u0435, \u0438 \u044f \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043a\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Blender \u0434\u043b\u044f \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u043e\u0432 \u0437\u0430 200 \u0442\u044b\u0441\u044f\u0447 \u0440\u0443\u0431\u043b\u0435\u0439, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u0432 \u043a\u0443\u0440\u0441\u0435, \u0447\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u043f\u0440\u0438\u0437\u043d\u0438\u0447\u0430\u0442\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u043d\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0448\u044c.<\/p>\n<p>\u0414\u0430, \u0434\u0430\u0432\u043d\u044b\u043c-\u0434\u0430\u0432\u043d\u043e \u043f\u0430\u0440\u0443 \u0440\u0430\u0437 \u0443 \u043c\u0435\u043d\u044f Blender \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u043b\u0441\u044f, \u0431\u043b\u0430\u0433\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435. \u0418\u043c\u0435\u043d\u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043d\u044f\u043b: \u0447\u0442\u043e\u0431\u044b \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432 \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c, \u043d\u0430\u0434\u043e \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c. \u0411\u043b\u0430\u0433\u043e YouTube \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u0443\u0447\u0443 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043a\u0443\u0440\u0441\u043e\u0432 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0443 \u0438\u043b\u0438 \u0438\u043d\u0443\u044e, \u044d&#8230; \u0448\u0442\u0443\u043a\u0443. \u041a\u0430\u043a \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e, \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u0443\u043b\u044c\u0442\u043e\u0432\u044b\u0439.<\/p>\n<p>\u0422\u0430\u043a, \u043e \u0447\u0451\u043c \u044d\u0442\u043e \u044f? \u0411\u0430\u0433\u0438! \u041d\u0435 \u0442\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0451 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u043b\u043e\u0441\u044c. \u041d\u0435\u0442! \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u0441\u0451 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e 12-14 \u0447\u0430\u0441\u043e\u0432 \u0432 \u0434\u0435\u043d\u044c, \u0438 \u0432\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e! \u041d\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u0430\u0448\u0430 \u0438\u0441\u043a\u043e\u0440\u0451\u0436\u0435\u043d\u043d\u0430\u044f \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043a\u0430\u043a \u0431\u044b \u043d\u0430\u043c\u0435\u043a\u0430\u0430\u0430\u0435\u0442, \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a. \u0414\u0443\u043c\u0430\u044e, \u043b\u044e\u0431\u043e\u0439, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Blender, \u0441\u043e \u043c\u043d\u043e\u0439 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0441\u044f. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u043b\u0435\u0434\u0438\u043b \u0437\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 Transform, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 Scale \u2014 \u044d\u0442\u043e \u0431\u0430\u0437\u0430, \u044d\u0442\u043e \u0437\u043d\u0430\u0442\u044c \u043d\u0430\u0434\u043e!<\/p>\n<p>\u0410 \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u0441\u0442\u0430\u0442\u044c\u044e \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u044f \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0431\u043e\u043d\u0443\u0441.<\/p>\n<p>\u041a\u043e\u043c\u043c\u0438\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442: <a href=\"https:\/\/github.com\/blender\/blender\/tree\/91b4f9f1f609e1cd119dc41943cfb2c2276092ac\">76092ac<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u0446\u0435\u043b\u0438 \u043e\u0431\u0435\u0441\u0446\u0435\u043d\u0438\u0442\u044c \u0442\u0440\u0443\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430. \u041c\u043d\u0435 \u043e\u043d \u043e\u0447\u0435\u043d\u044c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f! \u0426\u0435\u043b\u044c \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043e\u0442\u0447\u0451\u0442\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<\/div>\n<\/details>\n<h3>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u043a\u043e\u0434\u0430 \u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e, \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044f \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432 \u044d\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0447\u0430\u0441\u0442\u043e \u043c\u043d\u0435 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e: \u0431\u0430\u0433 \u044d\u0442\u043e \u0438\u043b\u0438 \u0444\u0438\u0447\u0430. \u0427\u0430\u0441\u0442\u043e \u043a\u043e\u0434 \u043e\u0447\u0435\u043d\u044c \u0437\u0430\u043f\u0443\u0442\u0430\u043d, \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0451\u043c \u0441\u043b\u043e\u0436\u043d\u043e \u0438 \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0448\u0438\u0431\u043e\u043a \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d, \u0440\u0430\u0437\u0431\u043e\u0440 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0451\u043d. \u041c\u043e\u0436\u043d\u043e \u0441 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435 \u0436\u0430\u043b\u043a\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u0434\u0430\u043b\u0435\u0435, \u0432 \u043f\u0440\u0438\u0441\u0443\u0449\u0435\u0439 \u043c\u043d\u0435 \u043c\u0430\u043d\u0435\u0440\u0435, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0432\u0430\u043c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u043a\u043e\u0434\u0430 Blender, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445, \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 PVS-Studio, \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430.<\/p>\n<p>\u041f\u0440\u0438\u0441\u0442\u0451\u0433\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c, \u0438 \u0434\u0430 \u043d\u0430\u0447\u043d\u0451\u0442\u0441\u044f \u0440\u0430\u0437\u0431\u043e\u0440!<\/p>\n<h3>\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u0431\u0430\u0433\u0438<\/h3>\n<p>\u0412\u0434\u043e\u0445\u043d\u043e\u0432\u043b\u044f\u044f\u0441\u044c \u0438\u0434\u0435\u0435\u0439 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430 \u043a\u043e\u0434\u0430 Blender \u0438 \u043e\u0442\u043a\u0440\u044b\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432: &#171;<em>\u0418\u0434\u0435\u044f \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u0430. \u0422\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u0430 \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0435\u0451 \u043a\u043e\u0434 \u0438 \u043f\u043e\u043d\u044f\u0442\u044c, \u0433\u0434\u0435 \u0431\u0430\u0433\u0438, \u0447\u0442\u043e \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0438 \u043a\u0430\u043a<\/em>&#171;.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N1<\/strong><\/p>\n<pre><code class=\"cpp\">void Cryptomatte::begin_sync() {   const eViewLayerEEVEEPassType enabled_passes =                                                      static_cast&lt;eViewLayerEEVEEPassType>(       inst.film.enabled_passes_get() &amp;       (  EEVEE_RENDER_PASS_CRYPTOMATTE_OBJECT |           EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET  |          EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET ) );   ....    } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v501\/\">V501<\/a> There are identical sub-expressions &#8216;EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET&#8217; to the left and to the right of the &#8216;|&#8217; operator. eevee_cryptomatte.cc 18<\/p>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0431\u0430\u0433: \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 <em>EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET<\/em> \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0441\u043a\u0438. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433\u0430\u044f \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u2014 <em>EEVEE_RENDER_PASS_CRYPTOMATTE_MATERIAL = (1 &lt;&lt; 18)<\/em>.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N2<\/strong><\/p>\n<pre><code class=\"cpp\">void MeshFromGeometry::create_edges(Mesh *mesh) {   ....   for (int i = 0; i &lt; tot_edges; ++i)    {     ....     dst_edge[0] = mesh_geometry_.global_to_local_vertices_                                 .lookup_default(src_edge[0], 0);     dst_edge[1] = mesh_geometry_.global_to_local_vertices_                                 .lookup_default(src_edge[1], 0);     BLI_assert(   dst_edge[0] &lt; total_verts                &amp;&amp; dst_edge[0] &lt; total_verts);    }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v501\/\">V501<\/a> There are identical sub-expressions &#8216;dst_edge[0] &lt; total_verts&#8217; to the left and to the right of the &#8216;&amp;&amp;&#8217; operator. obj_import_mesh.cc 266<\/p>\n<p>\u041b\u0435\u0432\u043e\u0435 \u0438 \u043f\u0440\u0430\u0432\u043e\u0435 \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e &#171;\u0418&#187; \u0432 <em>BLI_assert<\/em> \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c\u0441\u044f <em>dst_edge[1]<\/em> \u0432\u043c\u0435\u0441\u0442\u043e <em>dst_edge[0]<\/em>.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N3<\/strong><\/p>\n<pre><code class=\"cpp\">static void get_nearest_fcurve_verts_list (bAnimContext *ac,                                             const int mval[2],                                            ListBase *matches) {   ....   filter = (ANIMFILTER_DATA_VISIBLE  |             ANIMFILTER_CURVE_VISIBLE |                      ANIMFILTER_FCURVESONLY   |                  ANIMFILTER_NODUPLIS      |              ANIMFILTER_FCURVESONLY);          .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v501\/\">V501<\/a> There are identical sub-expressions &#8216;ANIMFILTER_FCURVESONLY&#8217; to the left and to the right of the &#8216;|&#8217; operator. graph_select.cc 178<\/p>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u2014 \u043a\u0430\u043a \u043e\u0434\u043d\u0430 \u0438\u0437 \u0444\u043e\u0440\u043c \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0430. \u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u0441\u0451 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e!<\/p>\n<p>\u041a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u0438 \u0431\u0430\u0433\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0442\u044c.<\/p>\n<p>\u042d\u0442\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e!<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0435 \u043c\u043d\u043e\u0433\u043e. \u041c\u043e\u0433\u0443 \u043b\u0438\u0448\u044c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0447\u0430\u0441\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u0431\u0430\u0433\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435.<\/p>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0438<\/h3>\n<p><em>&#171;\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 <\/em><a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v522\/\"><em>V522<\/em><\/a><em> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u0442 \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u2014 \u043b\u0438\u0448\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u0430 \u043d\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f&#187;.<\/em><\/p>\n<p>\u0420\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u2014 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u0430\u044f. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0438\u0437-\u0437\u0430 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043a\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041a\u0430\u043a \u044d\u0442\u0438 \u0431\u0430\u0433\u0438 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b? \u041a\u0430\u043a \u0438\u0445 \u043d\u0430\u0439\u0442\u0438? \u0423 \u043d\u0430\u0441 \u0441 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c \u0435\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u044d\u0442\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0430\u0440\u043e\u0447\u043a\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0431\u043e\u0440\u0430.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N4<\/strong><\/p>\n<pre><code class=\"cpp\">static bool gpencil_stroke_eraser_is_occluded (tGPsdata *p, bGPDlayer *gpl,                                                bGPDspoint *pt, const int x,                                                const int y) {   Object *obact = (Object *)p->ownerPtr.data;   Brush *brush = p->brush;   Brush *eraser = p->eraser;   BrushGpencilSettings *gp_settings = nullptr;    if (brush->gpencil_tool == GPAINT_TOOL_ERASE)    {     gp_settings = brush->gpencil_settings;   }   else    if ((eraser != nullptr) &amp;                               \/\/ &lt;=            (eraser->gpencil_tool == GPAINT_TOOL_ERASE))    {     gp_settings = eraser->gpencil_settings;   }    if ((gp_settings != nullptr) &amp;&amp;        (gp_settings->flag &amp; GP_BRUSH_OCCLUDE_ERASER) ) {     RegionView3D *rv3d = static_cast&lt;RegionView3D *>(p->region->regiondata);      ....   return false; } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v522\/\">V522<\/a> Dereferencing of the null pointer &#8216;eraser&#8217; might take place. Check the bitwise operation. gpencil_paint.cc 1429<\/p>\n<p>\u041a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f \u0438 \u0435\u0433\u043e \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442. \u0415\u0441\u043b\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b <em>&amp;<\/em>, \u0433\u043e\u0440\u0434\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0439 \u0434\u0432\u0430 \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0437\u0434\u0435\u0441\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u0430\u043c\u043f\u0435\u0440\u0441\u0430\u043d\u0442 <em>&amp;&amp;<\/em> \u043a\u0430\u043a \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u0438 \u043d\u0438\u0436\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u043a\u043e\u0434 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0432, \u043a\u0430\u043a\u043e\u0432 \u043e\u043d \u0438 \u0435\u0441\u0442\u044c: \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u043e\u0431\u0438\u0442\u043e\u0432\u043e\u0433\u043e &#171;\u0418&#187; \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442 \u0442\u0430\u043a\u0436\u0435 \u0438 \u043f\u0440\u0430\u0432\u043e\u0435 \u043f\u043e\u0434\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u0443\u0435\u0442 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 \u0444\u0430\u0439\u043b\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0451 \u043e\u0434\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0436\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0435:<\/p>\n<ul>\n<li>\n<p>V522 Dereferencing of the null pointer &#8216;eraser&#8217; might take place. Check the bitwise operation. gpencil_paint.cc 1821<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N5<\/strong><\/p>\n<pre><code class=\"cpp\">void ui_draw_popover_back (ARegion *region, uiStyle * \/*style*\/,                             uiBlock *block,  rcti *rect          ) {   ....   if (block)    {     float mval_origin[2] = {float(block->bounds_offset[0]),                              float(block->bounds_offset[1])};     ui_window_to_block_fl (region, block, &amp;mval_origin[0], &amp;mval_origin[1]);     ui_draw_popover_back_impl (wt->wcol_theme, rect, block->direction,                                U.widget_unit \/ block->aspect, mval_origin);   }   else    {     const float zoom = 1.0f \/ block->aspect;               \/\/ &lt;=     wt->state (wt, &amp;STATE_INFO_NULL, UI_EMBOSS_UNDEFINED);     wt->draw_block (&amp;wt->wcol, rect, 0, 0, zoom);   }   .... } <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <a href=\"https:\/\/pvs-studio.ru\/ru\/docs\/warnings\/v522\/\">V522<\/a> Dereferencing of the null pointer &#8216;block&#8217; might take place. interface_widgets.cc 5294<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043a\u0443\u0441\u043e\u0447\u043a\u0435 \u043a\u043e\u0434\u0430 \u0435\u0441\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u043b\u043e\u0433\u0438\u043a\u0435. \u0415\u0441\u043b\u0438 <em>block == nullptr<\/em>, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0432\u0435\u0442\u043a\u0430 <em>else<\/em>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0451\u0442 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f <em>block.<\/em><\/p>\n<p>\u0418 \u0442\u0430\u043a\u043e\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043d\u0435 \u043e\u0434\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>V522 Dereferencing of the null pointer &#8217;em&#8217; might take place. <a href=\"http:\/\/transform.cc\">transform.cc<\/a> 2117<\/p>\n<\/li>\n<li>\n<p>V522 Dereferencing of the null pointer &#8216;mesh&#8217; might take place. MOD_cloth.cc 108<\/p>\n<\/li>\n<li>\n<p>V522 Dereferencing of the null pointer &#8216;data.mval_fl&#8217; might take place. editmesh_select.cc 801<\/p>\n<\/li>\n<\/ul>\n<h3>\u0423\u0441\u043b\u043e\u0432\u0438\u0435&#8230; \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f&#8230;<\/h3>\n<p><em>&#171;\u0411\u0435\u0437\u0443\u043c\u0438\u0435 \u2014 \u044d\u0442\u043e \u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f. \u0420\u0430\u0437 \u0437\u0430 \u0440\u0430\u0437\u043e\u043c, \u0432 \u043d\u0430\u0434\u0435\u0436\u0434\u0435 \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435. \u042d\u0442\u043e \u0435\u0441\u0442\u044c \u0431\u0435\u0437\u0443\u043c\u0438\u0435&#187;<\/em>, \u2014 \u0412\u0430\u0430\u0441, FarCry 3.<\/p>\n<p>\u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0438\u0447\u043d\u043e: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0431\u0430\u0433, \u043c\u044b \u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0430 \u043e\u043d\u0430 \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0434 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439, \u0447\u0442\u043e \u0436\u0435 \u043d\u0435 \u0442\u0430\u043a? \u0411\u0435\u0433\u0430\u0435\u043c \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0438 \u0442\u043e\u043c\u0443 \u0436\u0435 \u043a\u043e\u0434\u0443 \u0443\u0436\u0435 \u043f\u043e\u043b\u0447\u0430\u0441\u0430 \u0438 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0432 \u0447\u0451\u043c \u0434\u0435\u043b\u043e. \u0427\u0443\u0434\u0435\u0441\u0430, \u0434\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e! \u0410 \u043f\u043e\u0442\u043e\u043c, \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u0434\u043b\u044f \u0441\u0430\u043c\u0438\u0445 \u0441\u0435\u0431\u044f, \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432 \u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0433\u0434\u0435 \u0438 \u043d\u0435 \u0434\u0443\u043c\u0430\u043b\u0438 \u0435\u0451 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c. \u041e\u0448\u0438\u0431\u043a\u0438 \u0432 \u043b\u043e\u0433\u0438\u043a\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0430\u0441\u0442\u043e \u043b\u043e\u0433\u0438\u043a\u0443 \u043f\u0435\u0440\u0435\u0443\u0441\u043b\u043e\u0436\u043d\u044f\u044e\u0442, \u0430 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u0438 \u043c\u044b\u0441\u043b\u0438 \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a.<\/p>\n<p><strong>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N6<\/strong><\/p>\n<pre><code class=\"cpp\">void BLI_threadpool_init(ListBase *threadbase,                          void *(*do_thread)(void *),                          int tot) {   ....   if<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-369851","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/369851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=369851"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/369851\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=369851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=369851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=369851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}