Commit Graph

6268 Commits

Author SHA1 Message Date
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
IRIE Shinsuke
e2f9afbaab Blender Internal: Modify material property "Cast Buffer Shadows" to affect ray shadows also, and rename it to "Cast Shadows".
This allows us to make materials that don't cast ray shadows.
Turning off this property can reduce the rendering time slightly.

Note: RNA path is changed to "use_cast_shadows" as well. The older
path "use_cast_buffer_shadows" still can be used as its alias, but
it will be removed after updating some addons.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D272
2014-02-11 17:06:21 +09:00
Jonathan Williamson
e920206a90 Add Tabs to Paint Modes
This adds tabs for Tools, Options, and Grease Pencil to Sculpt, Texture Paint, Vertex Paint, and Weight Paint. These tabs and their panel allocations were discussed in T38346.

Close T38346
2014-02-10 11:48:24 -06:00
Howard Trickey
da33a557bc Fixes to make script_load_keymap test pass.
Removed Armature Sketch keymap, as the entries that were there
appear to have been moved to the Armature keymap.
Removed the Script keymap. The Script space is deprecated
and I could find no way that the keymap could be activated.
2014-02-08 10:52:56 -05:00
Thomas Dinges
1c24d954f4 Texture Nodes: "At" distortion node was missing from the add menu. 2014-02-07 20:12:42 +01:00
Sergey Sharybin
8614ed64ed Add Tabs for Movie Clip Editor
Based on the patch from Sebastian Koenig, discussed with Jonathan Williamson

  https://developer.blender.org/T38172

Also removed redundant modes from clip editor.

Reviewers: brecht, carter2422

Reviewed By: carter2422

CC: sebastian_k, carter2422

Differential Revision: https://developer.blender.org/D293
2014-02-07 20:27:59 +06:00
Thomas Dinges
7692bf02e0 UI: Fix Cloth panel after 28936a415076, was too large and looked bad.
* Move Sewing Springs to a dedicated panel, the "Cloth" panel is too crowded already, and the sewing springs feature is nicely isolated.
2014-02-06 21:45:59 +01:00
Daniel Genrich
28936a4150 Patch T31269: Add sewing seams to cloth simulation
Description:
--------------------------
Use loose edges marked as seams as sewing springs.

Usage:
-------------------------
All this patch does is set the rest length to 0 and the stiffness to 1 for springs for loose edges marked as seams so that during the cloth simulation they will be brought together.

Example Video:
-------------------------
http://www.youtube.com/watch?v=-Y_bC0gjoM0

Original Patch by thesleepless (+ git patch by codemanx)

Thank you!
2014-02-06 18:55:08 +01:00
Sergey Sharybin
2b9702f4bf Fix T38500: Audio of a scene strip can't be muted
Exposed Audio Volume of a scene to properties of a scene strip.
2014-02-06 13:50:42 +06:00
7d4c04597e Fix T38466: F12 / ctrl F12 shortcuts not showing in Render menu.
This is tricking the keymap system a bit to make it match, this use_viewport
option has no effect when invoked from the info space.
2014-02-05 13:34:24 +01:00
a0e03bb5cf Fix part of T38425: keymap editor search for "1" only showed numpad 1, not 1-key. 2014-02-03 15:48:50 +01:00
Sergey Sharybin
7fbb7e32fd Fix T38450: Remove unused Children Offset option
This option was only exposed to the interface and internally
was doing basically nothing.

Removing it to prevent artists from being confused.
2014-02-03 19:34:29 +06:00
Jonathan Williamson
c11f6abc57 Add "Create" tab and panel for Metaball Edit Mode
This makes the Create tab consistent in metaball editmode with other object types.
2014-02-02 12:27:26 -06:00
Jonathan Williamson
6739d9b072 Reorder Curve "Create" tab and add "Create" tab for Surfaces
This ensures the Create tab doesn't move and that it's available for Surface object types.
2014-02-02 12:05:13 -06:00
Jonathan Williamson
97c2be3009 Remove Grease Pencil panels from toolbar, has own tab
The Grease Pencil has it's own dedicated tab. It's no longer necessary to draw in a panel for each object type.
2014-02-02 11:38:14 -06:00
Jonathan Williamson
c1bdf69805 Update tabs for non-mesh object types
This adds appropriate tabs, panels, etc for curves, surfaces, metaballs, text, and armatures. This brings it in line with the changes in rB0972c422c3ac4ed725414baa47838f833b3f4c90
2014-02-02 11:31:24 -06:00
Jonathan Williamson
0972c422c3 Update Object Mode Toolbar Tabs
This updates the object mode toolbar tabs to reflect the rationale from the Edit Mode tabs.
- Rename "Basic" to "Tools"
- Put "Transform" into it's own panel within Tools
- Also rename Edit Mode "Mesh Tools" to "Tools" for consistency and shorter names
- Ensure Tools tabs are in same location between Edit and Object modes
- Remove redundant "Transform" label from Transform panel
2014-02-02 11:05:08 -06:00
Campbell Barton
6e479b18ef Code cleanup: remove (now) redundant empty text with icon_only 2014-01-30 16:31:57 +11:00
Campbell Barton
5f47f1370e UI: move toggle icons out of layout checks into rna 2014-01-30 16:24:51 +11:00
Campbell Barton
9598990b9b UI API: don't use a text label when icon_only is set 2014-01-30 15:28:39 +11:00
Jonathan Williamson
26f3df5565 Update Edit Mode tabs for mesh objects
This greatly improves the mesh edit tabs after a few weeks of feedback, making the tabs more practical with less need to switch tabs often.  Based on discussion on IRC and T37568.

Reviewers: campbellbarton

CC: campbellbarton, brecht

Reviewers: campbellbarton

Reviewed By: campbellbarton

CC: campbellbarton, brecht

Differential Revision: https://developer.blender.org/D269
2014-01-29 09:53:20 -06:00