blender/release/scripts/startup/bl_ui
Sergey Sharybin 3a370ec6ec Move curve's boundbox and texspace calculation out of modifier stack
There were several issues with how bounding box and texture space
are calculated:

- This was done at the same time as applying modifiers, meaning if
  several objects are sharing the same curve datablock, bounding
  box and texture space will be calculated multiple times.

  Further, allocating bounding box wasn't safe for threading.

- Bounding box and texture space were evaluated after pre-tessellation
  modifiers are applied. This means Curve-level data is actually
  depends on object data, and it's really bad because different
  objects could have different modifiers and this leads to
  conflicts (curve's data depends on object evaluation order)
  and doesn't behave in a predictable way.

  This commit moves bounding box and texture space evaluation from
  modifier stack to own utility functions, just like it's was done
  for meshes.

  This makes curve objects update thread-safe, but gives some
  limitations as well. Namely, with such approach it's not so
  clear how to preserve the same behavior of texture space:
  before this change texture space and bounding box would match
  beveled curve as accurate as possible.

  Old behavior was nice for quick texturing -- in most cases you
  didn't need to modify texture space at all. But texture space
  was depending on render/preview settings which could easily lead
  to situations, when final result would be far different from
  preview one.

  Now we're using CV points coordinates and their radius to approximate
  the bounding box. This doesn't give the same exact texture space,
  but it helps a lot keeping texture space in a nice predictable way.

  We could make approximation smarter in the future, but fir now
  added operator to match texture space to fully tessellated curve
  called "Match Texture Space".

Review link:

  https://codereview.appspot.com/15410043/

Brief description:

  http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2013/Results#Curve_Texture_Space
2013-12-11 16:32:41 +06:00
..
__init__.py fixes for python api docs. 2013-09-18 05:20:43 +00:00
properties_animviz.py Bugfix [#32754] Clear Motion paths button not available on Motion paths panel 2012-10-04 11:05:48 +00:00
properties_constraint.py shrink-wrap constraint, improve and remove some limitations. 2013-09-07 12:59:16 +00:00
properties_data_armature.py Interface: Remove one more name field, this time from Bone groups. 2013-11-24 22:35:55 +01:00
properties_data_bone.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
properties_data_camera.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
properties_data_curve.py Move curve's boundbox and texspace calculation out of modifier stack 2013-12-11 16:32:41 +06:00
properties_data_empty.py remove use of gettext: _("...") style translation now its handled by rna. 2011-09-21 15:18:38 +00:00
properties_data_lamp.py Removing BLENDER_GAME from the COMPAT_ENGINES set for the sun lamp's Sky & Atmosphere panel since it isn't supported in the BGE. 2012-10-30 01:59:15 +00:00
properties_data_lattice.py Fixing issues with i18n stuff: 2011-09-15 13:20:18 +00:00
properties_data_mesh.py UI List: remove separate name text fields. 2013-11-24 14:27:02 +01:00
properties_data_metaball.py remove use of gettext: _("...") style translation now its handled by rna. 2011-09-21 15:18:38 +00:00
properties_data_modifier.py Screw Modifier: UV support 2013-11-26 21:31:32 +11:00
properties_data_speaker.py style cleanup 2012-07-29 12:07:06 +00:00
properties_freestyle.py UI List: remove separate name text fields. 2013-11-24 14:27:02 +01:00
properties_game.py Game Engine: Option to record static objects animation 2013-12-09 22:28:38 +11:00
properties_mask_common.py UI List: remove separate name text fields. 2013-11-24 14:27:02 +01:00
properties_material.py Add ctrl-click rename to most lists in Blender UI and templates/examples. 2013-11-23 20:54:32 +01:00
properties_object.py The tittle for "Maximum Draw Type" had capitalization inconsistent with the rest of Blender 2013-11-16 02:50:01 -06:00
properties_paint_common.py Segregate all paint cursor overlay options under their own "Overlay" 2013-10-09 14:57:48 +00:00
properties_particle.py Particles: change material picking from index number in UI to menu with materials. 2013-12-07 12:26:58 +01:00
properties_physics_cloth.py Fix part of #33469: cloth preroll had a wrong tooltip and low limit of 200 frames. 2012-12-18 15:44:04 +00:00
properties_physics_common.py Interface / Template Lists: 2013-10-13 23:24:37 +00:00
properties_physics_dynamicpaint.py UI List: remove separate name text fields. 2013-11-24 14:27:02 +01:00
properties_physics_field.py Google Summer of Code project: "Smoke Simulator Improvements & Fire". 2012-10-10 13:18:07 +00:00
properties_physics_fluid.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
properties_physics_rigidbody_constraint.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
properties_physics_rigidbody.py rna attribute consistency edits, use common prefix for booleans. 2013-04-23 07:06:29 +00:00
properties_physics_smoke.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
properties_physics_softbody.py Google Summer of Code project: "Smoke Simulator Improvements & Fire". 2012-10-10 13:18:07 +00:00
properties_render_layer.py UI List: remove separate name text fields. 2013-11-24 14:27:02 +01:00
properties_render.py Blender Internal: 2013-11-19 20:30:49 +01:00
properties_scene.py Interface: Remove some more name fields, not needed anymore with list rename. 2013-11-24 15:14:45 +01:00
properties_texture.py Add ctrl-click rename to most lists in Blender UI and templates/examples. 2013-11-23 20:54:32 +01:00
properties_world.py Blender Internal: 2013-11-20 19:13:41 +01:00
space_clip.py Image wrapping for plane track in clip editor 2013-11-29 23:26:57 +06:00
space_console.py code cleanup: minor improvements to scripts. 2013-04-20 13:23:53 +00:00
space_dopesheet.py Fix for missing filter button to visualize/hide animation data related to line styles. 2013-09-03 22:50:58 +00:00
space_filebrowser.py == file browser == 2012-10-27 18:31:52 +00:00
space_graph.py Project Pampa request: FCurves normalized display 2013-10-29 18:10:52 +00:00
space_image.py Code Cleanup: python import formatting 2013-12-03 23:46:28 +11:00
space_info.py OSX: Fix T37602, quitting from the File Menu does not ask 2013-11-25 10:56:31 +01:00
space_logic.py Editors UI: 2012-11-04 18:26:30 +00:00
space_nla.py code cleanup: python/pep8 and double-promotion warnings. 2013-03-28 19:33:14 +00:00
space_node.py Node Previews: 2013-12-09 22:04:00 +01:00
space_outliner.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
space_properties.py This commit tackles the "context" buttons in Properties header, which were still using "ugly" old UI code. 2013-06-19 19:37:17 +00:00
space_sequencer.py Fix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE 2013-11-12 07:02:04 +00:00
space_text.py Interface / Text: 2013-10-14 17:14:43 +00:00
space_time.py Code Cleanup: style, spelling and pep8 edits 2013-11-20 03:40:10 +11:00
space_userpref.py View Navigation: Walk and Fly modes 2013-12-03 03:14:09 -02:00
space_view3d_toolbar.py Interface: Rename "Duplicate Objects" to just "Duplicate", was already done for the Mesh/Curve...variants but not for the Object Mode one. 2013-12-09 10:49:16 +01:00
space_view3d.py Lattice Editmode: Select Mirror 2013-12-09 15:41:54 +11:00