Commit Graph

6288 Commits

Author SHA1 Message Date
Campbell Barton
92653fe944 Keymap search: check 'key_modifier' as well as 'type' 2014-02-26 00:13:20 +11:00
Thomas Dinges
9c755ef652 UI / 3D View: Fix Rigid Body panel, being closed per default. 2014-02-25 10:59:20 +01:00
Campbell Barton
bb62f9a582 Fix T38778: Properties from bpy.props could be edited as custom props 2014-02-25 17:01:46 +11:00
Campbell Barton
24e1ce25d1 Use string escaping when renaming custom properties 2014-02-25 16:49:14 +11:00
Campbell Barton
18f6bb04fa Fix for custom property editor when property id's contained quotes
Adds bpy.utils.escape_identifier()
2014-02-25 16:19:57 +11:00
Thomas Dinges
b5c50c02fa Paint UI: Don't hide the custom icon path, just grey out.
This is what we do with boolean and sub-settings. We usually hide it when the options depend on a menu-enum.
2014-02-24 21:13:30 +01:00
Thomas Dinges
a3202e434a Code cleanup: Re-use Grease Pencil panel for 3D view as well. 2014-02-24 20:53:37 +01:00
Bastien Montagne
ea5090f8c0 Minor UI messages fixes. 2014-02-22 13:49:40 +01:00
Campbell Barton
b7fa08f88a Code cleanup: style 2014-02-22 11:14:15 +11:00
Thomas Dinges
3436c41dee Fix T38739: Simulations, unsupported in the Game Engine, could not be removed from the UI.
Also shorten info messages a bit.
2014-02-21 12:46:17 +01:00
Sergey Sharybin
4056db22cd Motion tracking panel compactification in 3D viewport properties
Patch by Sebastian Koenig, thanks!
2014-02-20 22:01:53 +06:00
Campbell Barton
10f4c62783 Editmesh: add convex hull to vertex menu 2014-02-20 16:32:23 +11:00
Campbell Barton
ea58918171 NDOF: define 2 default navigation modes: free & orbit
After some discussion it seems both are valid defaults but useful for
very different purposes.

- 'free' lets you explore the scene with full 6dof (like fly mode)
- 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location.

This doesn't effect orbit/pan which are available with modifier keys.
2014-02-20 12:02:59 +11:00
Thomas Dinges
5f8b30bf83 Image Editor: Fix View menu, after Scopes rename. 2014-02-19 21:02:51 +01:00
Antony Riakiotakis
eb7485389b Use tabs for image editor.
For initial discussion see T38371

This commit organized panels for image editor to new tab categories dependent
on the image editor mode:

View Mode:
Tools - contains UV tools (currently only transform and UV Sculpting)
Scopes - contains scopes
Grease Pencil - contains Grease Pencil operators

Paint Mode:
Tools - contains brush options
Scopes - as above
Grease Pencil - as above

Mask Mode
Mask - contains mask tools
Scopes - as above
Grease Pencil - as above

Grease Pencil panel/tab now includes operators, not view options which have been
moved to the UI region on the right.
To make this work better, image editor toolbar now is of type TOOLS instead
of PREVIEW as was the case previously. A nice version patch makes sure all
works predictably, but opening newer files with older blender executables
could backfire.

This commit does not address which UV Tools will be included in the
Tools tab for the view mode, but does include some basic tools (transform)
and provides a class to inherit from to avoid conflicts with UV Sculpting.

Reviewers: brecht, dingto, sergey

Differential Revision: https://developer.blender.org/D315
2014-02-19 17:22:01 +02:00
Sergey Sharybin
521b3a5dac Fix for Copy Settings From Active Track
it didn't copy weight from active track.
2014-02-19 18:59:04 +06:00
Sergey Sharybin
f6a7e5ece1 Change default track to 15px pattern and 71px search
After recent seed improvements it makes tracking more robust
without speed loss.
2014-02-19 18:50:24 +06:00
Sergey Sharybin
57b62881f4 Added track weight to presets
Useful for cases when you need to create bunch of witness tracks.
2014-02-19 18:43:36 +06:00
Sergey Sharybin
5d20db1d87 Added an option to camera preset to include/exclude focal length from the preset
Useful for cameras which have fixed focal length.
2014-02-19 18:18:02 +06:00
Sergey Sharybin
df34df50f7 Camera presets changes
- Fixed typo in Canon C300 camera name
- Added preset for Nexus5
2014-02-19 18:10:51 +06:00
Sergey Sharybin
0673f86334 Update the camera presets in various ways:
* Switch to using Canon sensor type instead of camera models.
There are a ton of camera models that reuse the same sensor
so it's just confusing and forever incomplete to try and cover
all models.

* Delete all redundant Canon camera models..

* Leave only the Canon camera models that are special, that is
have non regular sensor sizes.

* Fix a few errors in some Canon models.

* Capitalize a few unrelated sensor presets for consistency.

* Added presets for GoPro and iPhone.
Their distortion models and shutter isn't really supported ATM
but tracker is robust enough to give reasonable tracking and
solving results.

Presets are from Daniel Salazar and Sebastian Koenig, thanks!

Differential Revision: https://developer.blender.org/D264
2014-02-19 16:07:12 +06:00
Campbell Barton
dea4bcdf67 PyAPI: bpy.ops was showing 'module' in autocomplete output 2014-02-19 13:41:41 +11:00
Campbell Barton
2a9e33fba5 Keymap: load/save improvements
- avoid passing redundant operator name to keymap property set function.
- avoid double attr lookups when setting each property.
- handle exceptions on value type mismatch.
- avoid resource warning on failed load.
2014-02-19 10:32:23 +11:00
Campbell Barton
7afbdbf812 Update keymaps for changes to NDOF 2014-02-19 10:32:22 +11:00
Campbell Barton
c9233bfd82 Code cleanup: style 2014-02-19 08:02:59 +11:00
Campbell Barton
e965afcdcc Python: remove redundant len() use 2014-02-19 00:05:31 +11:00
Sergey Sharybin
d035e5ac9d Fix T38698: In the Mask tab the Insert Key and Clear Key button labels are switched 2014-02-18 18:57:09 +06:00
Campbell Barton
dcdb4eaf9c NDOF: Fix for fly/walk mode ignoring axis invert options 2014-02-18 23:55:58 +11:00
Sergey Sharybin
db172c1a98 Fix T38672: Can't select strips inside a Meta on the Mask Modifier 2014-02-18 16:01:16 +06:00
Sergey Sharybin
688d0984eb Fix T38667: When using "Maya" Input Interface, pressing "E" does not initiate rotation in the UV/Image Editor
Was a shortcut conflict with unwrap. Use 'U' for unwrap now, so no conflict is here.

Preset still doesn't work tho, Cambo need to solve missing operators used here since
NDOF changes.
2014-02-18 15:08:08 +06:00
Campbell Barton
2b0aa105f7 NDOF: show invert pan & zoom in the menu outside the 3d view 2014-02-18 11:57:49 +11:00
a5cfd3f518 Fix T38635: key configuration search not working well when typing 'slash'. 2014-02-17 15:03:24 +01:00
Campbell Barton
fcaf144a2a Mask: enable overlap detection by default, more compact buttons 2014-02-17 20:00:11 +11:00
Sergey Sharybin
ddf7d485a8 Bring back mask copy/paste operator to the menu
They got lost in clip interface tab-ilization.
2014-02-17 13:09:21 +06:00
Sergey Sharybin
1776cb9244 Fix T38670: Mask transform without a movieclip crashes
Disable transform and mask display when there's no active clip.

It's not a matter of returning fallback dimensions if there's no
slip, it's also matter of making it so stabilization and distortion
routines are aware of clip == NULL which is really crappy.

Also almost all the operators are disabled in clip editor without
active clip already anyway.

Also tweaked header UI a bit to not display mask stuff when there's
no active clip,
2014-02-17 12:58:50 +06:00
Campbell Barton
cc7cfd6617 Mesh Tool: removes degenerate edges, faces and face ears. 2014-02-17 11:41:19 +11:00
Thomas Beck
67ba7e50d4 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
Campbell Barton
eedba54aae NDOF: rename 'zoom updown' to 'pan xy swap axis'
This swapped translation for all ndof events.
2014-02-15 09:54:11 +11:00
Sergey Sharybin
32b45cb4a7 Fix for "Show Overlay" for masks always grayed out 2014-02-14 17:09:21 +06:00
Campbell Barton
5fdf6169a3 Fix incorrect text for curve Shrink/Fatten, patch from SebastianK 2014-02-13 19:21:35 +11:00
Campbell Barton
ae8327dbf3 Mask: add option to detect self intersections 2014-02-13 19:12:28 +11:00
Campbell Barton
108ad34429 Mask: option not to treat overlapping curves as holes 2014-02-13 11:48:46 +11:00
Campbell Barton
aea00c7a81 Code cleanup: style 2014-02-13 08:52:12 +11:00
Antony Riakiotakis
09e5373c06 Paint: Descrollification commit for brush texture angle property.
Original patch by Sebastian Koenig with edits.
2014-02-12 18:00:54 +02:00
Antony Riakiotakis
1c862f33a0 Sculpting: Move lock options in symmetry panel.
Lock is an often used option according to artist feedback, so better
have it on the same tab as brush tools.
2014-02-12 17:04:57 +02:00
Thomas Dinges
412e06a2fa UI / 3D View Tool Shelf: Avoid redundant "Grease Pencil" label, now that GP has its own tab. 2014-02-12 15:32:25 +01:00
Campbell Barton
bd89528a5e Code cleanup: replace WM_OT_ndof_sensitivity_change -> WM_OT_context_scale_float
also increase maximum sensitivity
2014-02-12 21:05:24 +11:00
Tamito Kajiyama
054094f582 Freestyle: Fix for chaining operators not concatenating edges with Freestyle edge marks and at material boundaries.
Problem report by Postoman on the BlenderArtists.org Freestyle thread, thanks a lot!
2014-02-12 18:17:21 +09:00
IRIE Shinsuke
38e58612ef Revert own previous commit rBe2f9afbaabbd.
The "Cast Shadows" worked as expected, but it can cause problem in some cases.
For example, when using strand render, we need disabling only buffer shadows,
but the previous changes made that impossible. "Cast Shadows" should be added
as a newly created option.
2014-02-12 05:46:26 +09:00
Sebastian Koenig
10a0b1b8c3 Bring back stabilization and GP panels to MCE 2014-02-11 16:16:11 +06:00