On 26.11.2013 16:31, Sergey Sharybin wrote: > One developer-side note: if you're gonna to calculate things from a draw > calllback. This callback is called for every panel redraw. Iterating > database from it is not gonna to be a good idea. > > So you would need to find a way to cache the values somewhere.
I was thinking about calculating the numbers once and reuse them until the File Selector window is closed. I guess this will be OK ? > On Tue, Nov 26, 2013 at 9:27 PM, Gaia <[email protected]> wrote: > >> Hey, Jonathan; >> what about this ?: >> >> [ ] Include 23 children >> [ ] Include 1 armatures >> [ ] include 110 shape keys >> [ ] Include 3 UV Textures >> [ ] Include 10 Material textures >> [ ] Include 21 Deform bones only >> >> -gaia- >> >> On 26.11.2013 16:24, Jonathan Williamson wrote: >>> Hey Gaia, >>> >>> I think this functionality is a good thing to implement. My only concern >> is >>> that I don't think it's clearly illustrated to the user what the number >>> actually represents. But that may be a silly concern. Any thoughts on how >>> this could be improved? >>> >>> Jonathan Williamson >>> http://cgcookie.com >>> >>> >>> On Tue, Nov 26, 2013 at 8:55 AM, Gaia <[email protected]> >> wrote: >>>> Hi; >>>> >>>> I propose to add numerical hints to the collada export panel >>>> like this: >>>> >>>> [ ] Include children (23) >>>> [ ] Include armatures (1) >>>> [ ] include shape keys (110) >>>> [ ] Include UV Textures (3) >>>> [ ] Include Material textures (10) >>>> [ ] Deform bones only (21) >>>> >>>> The numbers in brackets are the number of items affected. >>>> When the number is 0 then the corresponding checkmark gets >>>> greyed out. >>>> >>>> Is this OK to do ? I guess the numbers are easy to find >>>> and they will only be collected when a user calls >>>> the export panel. >>>> >>>> cheers, >>>> Gaia >>>> _______________________________________________ >>>> Bf-committers mailing list >>>> [email protected] >>>> http://lists.blender.org/mailman/listinfo/bf-committers >>>> >>> _______________________________________________ >>> Bf-committers mailing list >>> [email protected] >>> http://lists.blender.org/mailman/listinfo/bf-committers >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers >> > > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
