<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    sorry to reply to my own mail, but I think I have possibly an idea
    how solve the problem.<br>
    <br>
    I would prefer, that an operator is always called with the default
    values, so that<br>
    <i>bpy.ops.mesh.primitive_torus_add()<br>
    </i>will always add an torus with default parameters.<br>
    <br>
    Same for the UI, but for that the button "reset" should have the
    opposit function. Something like "get last values/parameters"
    instead of reset.<br>
    Maybe the API could offer an option to add an object with last
    parameters.<br>
    <br>
    <i>bpy.ops.mesh.primitive_torus_add(parameters = 'PREVIOUS')</i><br>
    <br>
    or something like that.<br>
    <br>
    Maybe to add an additional feature here, the parameter could be one
    of the "Operator Presets".<br>
    <br>
    <i>bpy.ops.mesh.primitive_torus_add(parameters = 'Preset abc')</i><br>
    <br>
    In most cases the user will not use many of the last parameters.<br>
    In my current Add-on, there are extreme values where the generation
    of the object will take some seconds.<br>
    In the workflow of the Add-on you have to add more than one object
    in a scene and only some of the objects have extrem parameters. But
    than on the next added object the bahavior of last parameters is
    really annoying.<br>
    <br>
    The function of the "operator presets" gives a nice otion to store
    the last value, so the button "get last parameters" would fit to the
    idea of the operator presets, "PREVIOUS" would be like one of it.<br>
    <br>
    I think this basic changes in the workflow of blender would make
    sense. For my current procjet it would fit.<br>
    <br>
    Happy blending<br>
    Conz<br>
    <br>
    Am 29.02.2012 15:41, schrieb Constantin Rahn:
    <blockquote cite="mid:4F4E390D.60707@vrchannel.de" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi,<br>
      <br>
      I want to discuss a problem before I add it to the bug tracker.
      Not sure that it is a bug, or a side effect of a new feature. I
      was not sure where to post, on this list or on BF Committers.<br>
      <br>
      ...<br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-python@blender.org">Bf-python@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>