Re: [Bf-committers] M Key in 2.8
So it will only deallocate the memory when you call it the next time but you never need to do this when you destroy the object? Am I understanding this correctly? If so, then why not add a function to UItemMenuF that releases the memory? On Thu, Mar 29, 2018 at 7:36 PM, Dalai Felintowrote: > Hi, > > > BTW why would you leek memory by design? Have not written the garbage > collection yet or what? > > I explain it here: https://developer.blender.org/rBf167226b793e > > But basically in order to do multi-level (i.e., nested) menus with the > current code base I had to resort to uiItemMenuF. > > This function takes a callback that it is used to build the menus > on-the-fly. > In order to build the menus I need valid data of which collections to show, > so they need to be pre-allocated. > However the operator that creates the menus (and allocates the data) exits > with OPERATOR_INTERFACE. And there is no garbage collection callback > function called when the menu is destroyed. > > I guess I can also free the previously allocated memory in the operator > exec. This will leave the memory leakage to happen only when the menu is > called but dismissed. > > The leakage is small though, so I'm not super concerned. > > -- > blendernetwork.org/dalai-felinto > www.dalaifelinto.com > > 2018-03-29 14:23 GMT-03:00 Pablo Vazquez : > > > On Sun, Mar 11, 2018 at 3:51 PM, Knapp wrote: > > > What is the best link for 2.8 news? > > > > Summary: > > https://www.blender.org/2-8/ > > > > Blog: > > https://code.blender.org > > > > Social media: > > YouTube - https://www.youtube.com/BlenderDevelopers > > Twitter - https://twitter.com/BlenderDev > > Facebook - https://www.facebook.com/BlenderDevelopers > > > > > > Pablo Vazquez > > Blender Institute | Animation Studio > > pablovazquez.art > > ___ > > Bf-committers mailing list > > Bf-committers@blender.org > > https://lists.blender.org/mailman/listinfo/bf-committers > > > ___ > Bf-committers mailing list > Bf-committers@blender.org > https://lists.blender.org/mailman/listinfo/bf-committers > -- Douglas E Knapp, MSAOM, LAc. ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] M Key in 2.8
Hi, > BTW why would you leek memory by design? Have not written the garbage collection yet or what? I explain it here: https://developer.blender.org/rBf167226b793e But basically in order to do multi-level (i.e., nested) menus with the current code base I had to resort to uiItemMenuF. This function takes a callback that it is used to build the menus on-the-fly. In order to build the menus I need valid data of which collections to show, so they need to be pre-allocated. However the operator that creates the menus (and allocates the data) exits with OPERATOR_INTERFACE. And there is no garbage collection callback function called when the menu is destroyed. I guess I can also free the previously allocated memory in the operator exec. This will leave the memory leakage to happen only when the menu is called but dismissed. The leakage is small though, so I'm not super concerned. -- blendernetwork.org/dalai-felinto www.dalaifelinto.com 2018-03-29 14:23 GMT-03:00 Pablo Vazquez: > On Sun, Mar 11, 2018 at 3:51 PM, Knapp wrote: > > What is the best link for 2.8 news? > > Summary: > https://www.blender.org/2-8/ > > Blog: > https://code.blender.org > > Social media: > YouTube - https://www.youtube.com/BlenderDevelopers > Twitter - https://twitter.com/BlenderDev > Facebook - https://www.facebook.com/BlenderDevelopers > > > Pablo Vazquez > Blender Institute | Animation Studio > pablovazquez.art > ___ > Bf-committers mailing list > Bf-committers@blender.org > https://lists.blender.org/mailman/listinfo/bf-committers > ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] M Key in 2.8
On Sun, Mar 11, 2018 at 3:51 PM, Knappwrote: > What is the best link for 2.8 news? Summary: https://www.blender.org/2-8/ Blog: https://code.blender.org Social media: YouTube - https://www.youtube.com/BlenderDevelopers Twitter - https://twitter.com/BlenderDev Facebook - https://www.facebook.com/BlenderDevelopers Pablo Vazquez Blender Institute | Animation Studio pablovazquez.art ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] M Key in 2.8
Thanks for that! BTW why would you leek memory by design? Have not written the garbage collection yet or what? On Wed, Mar 28, 2018 at 10:34 PM, Dalai Felintowrote: > Hi, > > > > When will it come back? > > Soon. > > Move to collections (M key) was just committed. We may iterate over it to > fix some technical issues (right now it is leaking memory "by design"). But > from the user perspective it should be fully functional. > > This will be available in tomorrow's builder.blender.org download. > Dalai > > -- > blendernetwork.org/dalai-felinto > www.dalaifelinto.com > > 2018-03-12 17:52 GMT-03:00 Dalai Felinto : > > > Hi, > > > > > What is the plan for layers? (M key) > > > > https://developer.blender.org/T53495 > > > > > When will it come back? > > > > Soon. > > > > > What is the time frame to start reporting errors? > > > > If it is up to me, not that soon. We will try to open it for the general > > public as soon as possible though. > > > > > What is the best link for 2.8 news? > > > > In the near future the best way to follow 2.8 will be following the Code > > Quest in ways yet to be announced. For now keep an eye to the weekly dev > > meetings every Monday in alternate times. > > > > > Do we have a plan to rename some of them or organize the terminology > > better? > > > > Not for the time being. > > > > Regards, > > Dalai > > > > -- > > blendernetwork.org/dalai-felinto > > www.dalaifelinto.com > > > > 2018-03-11 11:54 GMT-03:00 Knapp : > > > >> I forgot one thing. > >> My main focus is in helping newbies and teaching. > >> We have a LOT of parts of blender that are called "layers". > >> Do we have a plan to rename some of them or organize the terminology > >> better? > >> > >> > >> On Sun, Mar 11, 2018 at 3:51 PM, Knapp wrote: > >> > >> > What is the plan for layers? (M key) > >> > When will it come back? > >> > What is the time frame to start reporting errors? > >> > What is the best link for 2.8 news? > >> > Thanks! > >> > > >> > -- > >> > Douglas E Knapp, MSAOM, LAc. > >> > > >> > >> > >> > >> -- > >> Douglas E Knapp, MSAOM, LAc. > >> ___ > >> Bf-committers mailing list > >> Bf-committers@blender.org > >> https://lists.blender.org/mailman/listinfo/bf-committers > >> > > > > > ___ > Bf-committers mailing list > Bf-committers@blender.org > https://lists.blender.org/mailman/listinfo/bf-committers > -- Douglas E Knapp, MSAOM, LAc. ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] M Key in 2.8
Hi, > > When will it come back? > Soon. Move to collections (M key) was just committed. We may iterate over it to fix some technical issues (right now it is leaking memory "by design"). But from the user perspective it should be fully functional. This will be available in tomorrow's builder.blender.org download. Dalai -- blendernetwork.org/dalai-felinto www.dalaifelinto.com 2018-03-12 17:52 GMT-03:00 Dalai Felinto: > Hi, > > > What is the plan for layers? (M key) > > https://developer.blender.org/T53495 > > > When will it come back? > > Soon. > > > What is the time frame to start reporting errors? > > If it is up to me, not that soon. We will try to open it for the general > public as soon as possible though. > > > What is the best link for 2.8 news? > > In the near future the best way to follow 2.8 will be following the Code > Quest in ways yet to be announced. For now keep an eye to the weekly dev > meetings every Monday in alternate times. > > > Do we have a plan to rename some of them or organize the terminology > better? > > Not for the time being. > > Regards, > Dalai > > -- > blendernetwork.org/dalai-felinto > www.dalaifelinto.com > > 2018-03-11 11:54 GMT-03:00 Knapp : > >> I forgot one thing. >> My main focus is in helping newbies and teaching. >> We have a LOT of parts of blender that are called "layers". >> Do we have a plan to rename some of them or organize the terminology >> better? >> >> >> On Sun, Mar 11, 2018 at 3:51 PM, Knapp wrote: >> >> > What is the plan for layers? (M key) >> > When will it come back? >> > What is the time frame to start reporting errors? >> > What is the best link for 2.8 news? >> > Thanks! >> > >> > -- >> > Douglas E Knapp, MSAOM, LAc. >> > >> >> >> >> -- >> Douglas E Knapp, MSAOM, LAc. >> ___ >> Bf-committers mailing list >> Bf-committers@blender.org >> https://lists.blender.org/mailman/listinfo/bf-committers >> > > ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] M Key in 2.8
Hi, > What is the plan for layers? (M key) https://developer.blender.org/T53495 > When will it come back? Soon. > What is the time frame to start reporting errors? If it is up to me, not that soon. We will try to open it for the general public as soon as possible though. > What is the best link for 2.8 news? In the near future the best way to follow 2.8 will be following the Code Quest in ways yet to be announced. For now keep an eye to the weekly dev meetings every Monday in alternate times. > Do we have a plan to rename some of them or organize the terminology better? Not for the time being. Regards, Dalai -- blendernetwork.org/dalai-felinto www.dalaifelinto.com 2018-03-11 11:54 GMT-03:00 Knapp: > I forgot one thing. > My main focus is in helping newbies and teaching. > We have a LOT of parts of blender that are called "layers". > Do we have a plan to rename some of them or organize the terminology > better? > > > On Sun, Mar 11, 2018 at 3:51 PM, Knapp wrote: > > > What is the plan for layers? (M key) > > When will it come back? > > What is the time frame to start reporting errors? > > What is the best link for 2.8 news? > > Thanks! > > > > -- > > Douglas E Knapp, MSAOM, LAc. > > > > > > -- > Douglas E Knapp, MSAOM, LAc. > ___ > Bf-committers mailing list > Bf-committers@blender.org > https://lists.blender.org/mailman/listinfo/bf-committers > ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] M Key in 2.8
I forgot one thing. My main focus is in helping newbies and teaching. We have a LOT of parts of blender that are called "layers". Do we have a plan to rename some of them or organize the terminology better? On Sun, Mar 11, 2018 at 3:51 PM, Knappwrote: > What is the plan for layers? (M key) > When will it come back? > What is the time frame to start reporting errors? > What is the best link for 2.8 news? > Thanks! > > -- > Douglas E Knapp, MSAOM, LAc. > -- Douglas E Knapp, MSAOM, LAc. ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers