Page MenuHome

Bogdan Nagirniak (bnagirniak)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 7 2018, 3:16 PM (146 w, 5 d)

Recent Activity

Jun 3 2020

Aditia A. Pratama (aditiapratama) awarded rB9075ec8269e7: Python: add foreach_get and foreach_set methods to pyrna_prop_array a Love token.
Jun 3 2020, 5:47 PM

May 30 2020

Mike (demmordor) awarded rB9075ec8269e7: Python: add foreach_get and foreach_set methods to pyrna_prop_array a Party Time token.
May 30 2020, 4:37 AM

May 26 2020

Ivan Perevala (ivpe) awarded rB9075ec8269e7: Python: add foreach_get and foreach_set methods to pyrna_prop_array a Love token.
May 26 2020, 9:24 PM

Mar 17 2020

Valera Barashkov (valera) awarded rB9075ec8269e7: Python: add foreach_get and foreach_set methods to pyrna_prop_array a Party Time token.
Mar 17 2020, 4:30 PM

Mar 16 2020

Simon Wendsche (BYOB) awarded rB9075ec8269e7: Python: add foreach_get and foreach_set methods to pyrna_prop_array a Love token.
Mar 16 2020, 9:32 PM

Mar 13 2020

Bogdan Nagirniak (bnagirniak) added a comment to D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..

Hello,
What is the resolution of this diff request? Is there anything I have to do here?
Thanks.

Mar 13 2020, 10:58 AM

Mar 11 2020

Bogdan Nagirniak (bnagirniak) updated the diff for D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..

Added buf.itemsize check and default to switch.

Mar 11 2020, 12:28 PM
Bogdan Nagirniak (bnagirniak) added a comment to D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..

No, please DO NOT use default: here. This is straight way to Hell when adding a new type, and you forget to check all switch/cases. Please use an explicit stack of case PROP_ENUM: etc. instead.

I tried to follow the code style of other functions bpy_rna.c file and there are lot of 'default' keywords there in switching property types. Also in my function there is a check in the beginning:

Mar 11 2020, 11:57 AM
Bogdan Nagirniak (bnagirniak) updated the diff for D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..

Fixed unit test failing (seems it was platform specific), added unit test to CMakeLists.txt.

Mar 11 2020, 10:15 AM

Mar 10 2020

Bogdan Nagirniak (bnagirniak) added a comment to D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..

It would be nice if you could provide some benchmark results.

Mar 10 2020, 5:10 PM
Bogdan Nagirniak (bnagirniak) updated the diff for D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..

Thanks for reviewing. I've fixed review comments, also added test script tests/python/bl_pyapi_prop_array.py which tests this new API.

Mar 10 2020, 3:42 PM

Mar 6 2020

Bogdan Nagirniak (bnagirniak) created D7053: Add methods foreach_get() and foreach_set() to pyrna_prop_array class for fast access to array data..
Mar 6 2020, 8:39 PM

May 18 2018

Bogdan Nagirniak (bnagirniak) added a comment to T55115: Blender crash with Smoke system while iterating color_grid property through python.

Awesome! I checked fix - works ok, thanks!

May 18 2018, 2:27 PM · BF Blender
Bogdan Nagirniak (bnagirniak) created T55115: Blender crash with Smoke system while iterating color_grid property through python.
May 18 2018, 11:10 AM · BF Blender

Mar 20 2018

Bogdan Nagirniak (bnagirniak) added a comment to T54019: Undefined behavior happen by copying objects with Ctrl+C with custom material nodes.

Thank you!

Mar 20 2018, 10:15 AM · BF Blender

Feb 26 2018

Bogdan Nagirniak (bnagirniak) added a comment to T54019: Undefined behavior happen by copying objects with Ctrl+C with custom material nodes.

Well, I'm one of the developers of Radeon ProRender plugin for Blender https://pro.radeon.com/en/software/prorender/blender/ and there (inside plugin) we use our custom materials.

Feb 26 2018, 12:22 PM · BF Blender

Feb 7 2018

Bogdan Nagirniak (bnagirniak) updated the task description for T54019: Undefined behavior happen by copying objects with Ctrl+C with custom material nodes.
Feb 7 2018, 4:32 PM · BF Blender
Bogdan Nagirniak (bnagirniak) created T54019: Undefined behavior happen by copying objects with Ctrl+C with custom material nodes.
Feb 7 2018, 4:17 PM · BF Blender