blender/release/scripts/startup/bl_ui
Sergey Sharybin 1af69b6df3 Implement asymmetric and free handles type for masks
Summary:
The title actually says it all, it's just possible to
have independent free handles for mask splines. Also
it's now possible to have aligned handles displayed
as independent handles.

Required changes in quite a few places, but they're
rather straightforward.

From user perspective there's one really visible change
which is removed Handle Type menu from the panel. With
asymmetric handles it's not clear which handle type to
display there. So now the only way to change handle type
is via V-key menu.

Rewrote normal evaluation function to make it deal
with new type of handles we support. Now it works in
the following way:

- Offset the original spline by maximal weight
- Calculate vector between corresponding U positions
  on offset and original spline
- Normalize this vector.

Seems to be giving more adequate results and doesn't
tend to self-intersect as much as old behavior used to,

There're still some changes which needed to be done, but
which are planned for further patch:

- Support colors and handle size via themes.
- Make handles color-coded, just the same as done for
  regular bezier splines in 3D viewport.

Additional changes to make roto workflow even better:
- Use circles to draw handles
- Support AA for handles
- Change click-create-drag to change curvature of the
  spline instead of adjusting point position.

Reviewers: campbellbarton

CC: sebastian_k, hype, cronk

Differential Revision: http://developer.blender.org/D121
2014-03-28 17:54:38 +06:00
..
__init__.py Use tabs for image editor. 2014-02-19 17:22:01 +02: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 Usual UI messages fixes... 2014-03-19 15:25:32 +01:00
properties_data_armature.py Interface: Remove one more name field, this time from the armature tab - pose library panel. It's not needed anymore (dbl click on the item itself will rename it) 2014-02-14 23:59:06 +01:00
properties_data_bone.py UI: move toggle icons out of layout checks into rna 2014-01-30 16:24:51 +11:00
properties_data_camera.py Fix for missing 'field-of-view angle' property for a panoramic camera. 2014-03-12 00:08:28 +09:00
properties_data_curve.py Bevel Factor Mapping 2014-03-28 16:44:33 +06:00
properties_data_empty.py Empties with Images draw type: add support for movies and image sequences 2014-01-13 22:18:31 +01: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 Fix T38739: Simulations, unsupported in the Game Engine, could not be removed from the UI. 2014-02-21 12:46:17 +01:00
properties_data_speaker.py style cleanup 2012-07-29 12:07:06 +00:00
properties_freestyle.py Fix T38739: Simulations, unsupported in the Game Engine, could not be removed from the UI. 2014-02-21 12:46:17 +01:00
properties_game.py Code cleanup: Game Engine related panels belong into properties_game.py. 2013-12-18 07:35:05 +01:00
properties_grease_pencil_common.py Code cleanup: Re-use Grease Pencil panel for 3D view as well. 2014-02-24 20:53:37 +01:00
properties_mask_common.py Implement asymmetric and free handles type for masks 2014-03-28 17:54:38 +06:00
properties_material.py Revert own previous commit rBe2f9afbaabbd. 2014-02-12 05:46:26 +09:00
properties_object.py UI: Show edge draw options for duplis, it applied to their instances 2014-03-14 02:15:18 +11:00
properties_paint_common.py Paint: Descrollification commit for brush texture angle property. 2014-02-12 18:00:54 +02:00
properties_particle.py Fix T38359: incorrect display of material slot with pinned particle settings. 2014-01-29 16:50:37 +01:00
properties_physics_cloth.py UI: Fix Cloth panel after 28936a415076, was too large and looked bad. 2014-02-06 21:45:59 +01:00
properties_physics_common.py Interface / PointCache: Remove name fields here as well, not needed anymore due to direct rename in uiList. 2013-12-13 10:20:35 +01:00
properties_physics_dynamicpaint.py UI: Fix more double ":" in UI labels 2014-03-27 07:15:08 +04: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 Rigidbody: Allow triangle mesh shapes to deform during simulation 2013-12-26 18:38:06 +01:00
properties_physics_smoke.py Followup to r59434 : py UI scripts edits. 2013-08-23 20:41:21 +00:00
properties_physics_softbody.py UI: Fix more double ":" in UI labels 2014-03-27 07:15:08 +04:00
properties_render_layer.py Code cleanup: remove (now) redundant empty text with icon_only 2014-01-30 16:31:57 +11:00
properties_render.py UI: move toggle icons out of layout checks into rna 2014-01-30 16:24:51 +11: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 Fix T36165: blender internal HDR textures with negative values got clamped. 2014-01-23 18:49:10 +01:00
properties_world.py Blender Internal: 2013-11-20 19:13:41 +01:00
space_clip.py Fix T39270: Since as the Move Clip Editor have only two modes, menu on tab is needless 2014-03-20 16:08:42 +06:00
space_console.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_dopesheet.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_filebrowser.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_graph.py Patch T22084: Robert Penner Easing Equations for FCurves 2014-03-22 03:00:27 +13:00
space_image.py Fix T39356: unsatisfied with uv pin unpin button, small bug 2014-03-23 14:30:10 +01:00
space_info.py UI: Move OpenGL Settings (AA and Alpha) into the Info Editor render menu. 2014-03-15 17:37:42 +01:00
space_logic.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_nla.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_node.py Code cleanup: remove (now) redundant empty text with icon_only 2014-01-30 16:31:57 +11:00
space_outliner.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_properties.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_sequencer.py Python: remove redundant len() use 2014-02-19 00:05:31 +11:00
space_text.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_time.py UI: Replace +/- menus with collapsible ones 2014-01-27 18:42:11 +11:00
space_userpref.py Code cleanup: de-triplicate add menu/toolbars, also style edits 2014-03-20 01:34:24 +11:00
space_view3d_toolbar.py Attempt to fix T39412 2014-03-27 00:04:59 +02:00
space_view3d.py Fix T39353: Make Single User menu entries do not work correctly. 2014-03-23 11:33:40 +01:00