Commit Graph

327 Commits

Author SHA1 Message Date
Sv. Lockal ab2a9de4b4 Add translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip for custom properties
Tracked in [#31062] [2.6x] Context Ambiguity List & Discussion (keep updating)
2012-10-04 18:21:34 +00:00
Campbell Barton 78d6288be3 correct spelling error in operator property 2012-10-02 13:13:26 +00:00
Campbell Barton 8a51d235e6 pep8 cleanup 2012-09-26 21:19:51 +00:00
Campbell Barton 12da3d999b modifications needed to get a URL from an RNA id from the testing script 2012-09-13 00:26:01 +00:00
Campbell Barton 7b15620da0 fix [#32350] F11 play animation crash when UI language is not "Default"
this is a bug in boost 1.46, can remove this env var override when this version of boost is no longer supported.
2012-09-12 08:06:06 +00:00
Campbell Barton 6b1895d64c when pressing play report when the first frame can't be found. 2012-09-10 02:04:02 +00:00
Campbell Barton 8cf9e5f8c3 change templates to call modal_handler_add() is called last since any errors between calling this function and returning will crash blender. see [#30687] 2012-09-05 00:11:39 +00:00
Sergey Sharybin 3e540d4d4c Fix #32372: Blender Locks up when using Quick Fluid feature 2012-09-03 16:08:28 +00:00
Campbell Barton a7ec09aef9 ability to register your own online manual callbacks - useful for 3rd party addon developers, who may want to link to their own URL's. 2012-08-25 14:07:51 +00:00
Brecht Van Lommel 32a05baad9 Fix #32388: bpy.ops.wm.path_open() not working with path with spaces on Windows. 2012-08-23 11:18:31 +00:00
Campbell Barton 257c6de9ac copy as script operator for the console, so you can copy input from a console for use in a textblock. 2012-08-19 21:32:18 +00:00
Campbell Barton b0371f053c style cleanup 2012-08-17 18:36:20 +00:00
Campbell Barton dac761057d fix for crash showing tooltip for NODE_OT_add_search() 2012-08-17 11:31:54 +00:00
Campbell Barton 27a8487070 style cleanup: pep8 & unfinished comment from own commit. 2012-08-14 18:43:15 +00:00
Lukas Toenne e83ef85576 Python node operator for combined node collapsing and hiding unused sockets. Socket hide flag is added to RNA as well, but can only be set when the socket is not connected, to avoid dangling links in editor drawing. Currently this operator has no default hotkey, but can be called from the Node menu. 2012-08-14 17:56:33 +00:00
Lukas Toenne b465039ee7 Extended the search operator for nodes to also support node groups. The basic node group type is not included in the node items list, instead all existing node groups are added to the items list in the callback. A prefix is used to distinguish base node types from node groups. 2012-08-10 07:22:36 +00:00
Campbell Barton de131177b0 code cleanup: lazy init enum for node search 2012-08-08 17:02:14 +00:00
Lukas Toenne bd3ec60651 Search option for adding nodes.
The 'Add' menu in the node editor now has an option 'Search' at the top, which opens a separate popup for searching node types by name.

The operator for this is implemented completely in Python (this could also be done for the regular menu-based Add options in the future). There are a few necessary extensions to the RNA as well:

* The View2D struct in regions is now exposed. Currently only contains converter functions for coordinates from the region to the view (i.e. scrolled and zoomed view space). Used for converting mouse location to node space.

* The SpaceNode exposes the existing 'cursor_location' for operators to store mouse position beyond invoke calls. Not used for anything else (transforms) so far.

* The edit_tree in SpaceNode is also exposed, this is needed for operators to work correctly inside node groups.
2012-08-08 16:44:16 +00:00
Campbell Barton db6c4ba11e bring back the play option from 2.4x 2012-08-06 16:07:11 +00:00
Sergey Sharybin 4f410971c3 Camera tracking presets
- Fix for copy default settings from active track operator
- Add meaningful tracking presets

API changes:

- Added parameter exact to Marker.find_frame, so now it's
  possible to get estimated marker

- Added Marker.pattern_bound_box to get pattern's bound box
2012-08-04 10:47:31 +00:00
Sergey Sharybin 72a106d56f Fix #32165: context_set_value didn't make an undo push when changing scene settings
This lead to such issues as changing mesh selection mode wasn't doing undo push
when it need to.
2012-07-24 15:51:26 +00:00
Campbell Barton 21c0895466 poll function for edge loop delete. 2012-07-19 08:04:12 +00:00
Bastien Montagne 30037194cd Minor UI message update. 2012-07-07 13:51:07 +00:00
Thomas Dinges 0ee0eec6c6 Fix for [#32016] Tracking Settings Presets not working
* Removed outdated properties from the presets.

Note: it does not fail anymore, but needs an update for new settings probably.
2012-07-04 23:00:49 +00:00
Campbell Barton 2a140e93c1 style cleanup 2012-07-04 21:41:05 +00:00
Bastien Montagne 4149ea5f50 Last spell checking (for now).
Only mysterious courant from bpy.types.ParticleSettings.courant_target reamins...
2012-07-04 15:52:07 +00:00
Bastien Montagne 63810ffcef Style edit (mostly), use """ for docstrings (not ''').
Should also fix the broken py ops tips...
2012-07-03 09:02:41 +00:00
Bastien Montagne 4f294a8f02 Fixing a bug found while checking "[#31937] UV/Image Editor: Copy Mirrored UV Coords" (which isn't a bug at all).
The tool works OK, except it was messing vertices' order of polys, often giving ugly results! Now only using sorted list of vertices indices to find matching polys.
2012-06-29 12:41:39 +00:00
Campbell Barton 98e6912480 style cleanup 2012-06-19 22:17:19 +00:00
Bastien Montagne 69e07714b9 Fix part 1 of [#31840] Quick Explode Bugs related to it's fade option.
Patch by Philipp Oeser (lichtwerk), just did style change (better to not define a value twice, so only affecting the three color components, not the alpha, also using the slice syntax makes things much more compact ;) ), thanks!
2012-06-19 16:45:48 +00:00
Campbell Barton 9238d6f71b use fnmatch for reference globing rather then regex - regex overly complicates simple cases and wasnt being taken advantage of. 2012-06-03 11:01:18 +00:00
Campbell Barton 20e49e7177 quiet warnings 2012-06-03 10:33:28 +00:00
Campbell Barton 0dc84e64e7 experenental manual linking from the UI. realize this is an issue which is not agreed on so probably this will be disabled for release.
the data is stored here so more dev can commit:

./release/scripts/addons/modules/rna_wiki_reference.py
2012-06-01 20:38:40 +00:00
Brecht Van Lommel 2aa3b5a24e Fix #31633: select pattern operator did not mention [abc] wildcard, also
documented the operator more detailed in wiki now.

http://wiki.blender.org/index.php/Doc:2.6/Manual/Modeling/Objects/Selecting#Other_Menu_Options
2012-05-29 17:01:24 +00:00
Campbell Barton 9def1dea45 patch [#31578] Standard-conformal sets for .report() and operator return values
by Sebastian Nell (codemanx)

This patch contains many changes - mostly to addons committing this correction to trunk.
2012-05-26 09:55:00 +00:00
Campbell Barton 3bb4814194 initialize bake action vars from context 2012-05-26 00:46:12 +00:00
Lukas Toenne 53b01d9002 A number of new features for the node editor in general and the Frame node in particular.
For an detailed user-level description of new features see the following blogpost:

http://code.blender.org/index.php/2012/05/node-editing-tweaks/

TL;DR:
* Frame node gets more usable bounding-box behavior
* Node resizing has helpful mouse cursor indicators and works on all borders
* Node selection/active colors are themeable independently
* Customizable background colors for nodes (useful for frames visual
distinction).
2012-05-22 14:13:33 +00:00
Campbell Barton 2970b7a735 change name length from 32 to 64, perhaps we should have some constant here bpy.constants.NAME_MAX ? - but this hardly ever changes.
also hide allow overlap option for adding sequence strips, this was only intended for api use
2012-05-21 16:52:04 +00:00
Brecht Van Lommel 03222143c0 Add "Install Theme" button in user preferences, patch #31505 by Julien Duroure. 2012-05-18 12:49:27 +00:00
Campbell Barton bb2b1694ab workaround for python3.3 alpha with the console. 2012-05-17 15:24:26 +00:00
Campbell Barton eb22b52482 style cleanup: pep8 2012-05-15 18:50:51 +00:00
Campbell Barton 24fb2bad55 select camera operator now works with view3d unlocked cameras,
also corrected description.
2012-05-14 14:39:21 +00:00
Thomas Dinges 3a903f7a69 * Typo fix: rna_recursiev_attr_expand -> rna_recursive_attr_expand 2012-05-13 16:23:17 +00:00
Campbell Barton 7413ab8f1f fix [#31428] bpy.ops.wm.path_open only works once 2012-05-12 21:11:48 +00:00
Campbell Barton 564a6c2353 fix [#30905] Operator preset save doesn't serialize PropertyGroups
fix based on patch by Julien Rivaud (frnchfrgg), but re-written a bit differently not to be operator specific.
2012-05-11 18:55:14 +00:00
Campbell Barton e96187250e fix [#31136] Save All Edited only works for Saved external image, not New or Packed image (bpy.ops.image.save_dirty) 2012-05-04 17:39:37 +00:00
Campbell Barton 0f4966164a fix [#31181] Lightmap UV unwrap still broken
raised python error with triangles.
2012-04-30 05:45:01 +00:00
Campbell Barton 1642e2888c rename Mesh.uv_loop_layers --> uv_layers
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-22 23:51:50 +00:00
Campbell Barton 15eb3452ec style cleanup: pep8, also quiet compiler warning. 2012-04-20 18:50:18 +00:00
Sergey Sharybin 6e40088604 Partial revert of rev45691: allow lightmap undo and add comment why redo was disabled 2012-04-16 14:27:22 +00:00