Commit Graph

307 Commits

Author SHA1 Message Date
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
Sergey Sharybin
798385fa90 Fix #30968: Lightmap Pack - no new image limit
Disable operator register and redo flags because it might modify non-mesh
data when in edit mode. This doesn't work properly with current undo stack
design.
2012-04-16 11:54:28 +00:00
Campbell Barton
d9fa08e73d rename wm.blenderplayer_start label from 'Start' to 'Start Game In Player', also made it check if the player is found before running. 2012-04-16 02:28:18 +00:00
Thomas Dinges
5496e87eee Fluid Simulation:
* Replaced the hard coded viscosity presets with Python ones.

* Added version check, so older files load fine.
Loading new files into 2.62 also works fine.
2012-04-15 21:02:08 +00:00
Campbell Barton
bab7b47a71 code cleanup: minor edits, use function for getting console module. 2012-04-15 14:51:37 +00:00
Campbell Barton
20a37ba8f8 fix [#30956] Unwrapping, Lightmap Pack broken 2012-04-15 14:14:15 +00:00
Campbell Barton
9a79bd38ad don't constrain single edge extrude, annoying for retopo
see: http://www.youtube.com/watch?v=5AzRpFfWR6k

request from ZanQdo, VenomGFX & Jonathan Williams.

For previous functionality Z, Shift+Z.
2012-04-14 05:09:23 +00:00
Sergey Sharybin
54e648d114 Move "From Cursor" operator which sets dupli group offset to own operator
Previously it used to use cursor location from time when panel was drawn,
which in some cases lead to using previous cursor location instead of current.
2012-04-13 12:14:20 +00:00
Campbell Barton
1cf0358a33 bmesh todo: vertex dirtmap now working again.
also renamed Polygon helper property from 'loops' to loop_indices
2012-04-13 08:41:30 +00:00
Campbell Barton
8138d261cd fix [#30878] Lightmap Pack > New Image does not work 2012-04-10 00:56:38 +00:00
Campbell Barton
01e55b6fc3 code cleanup: remove unused imports/defines + other redundant code. 2012-04-08 13:11:25 +00:00
Campbell Barton
743a9c2e1d some pedantic load time speedup by not loading modules (math and subprocess in this case) 2012-04-06 08:04:31 +00:00
Bastien Montagne
b7c6327d1f Fix [#30665] UV-Editor: UV -> Copy Mirrored UV coords: mesh.faces_mirror_uv op now uses poly/loops (bmesh todo). 2012-04-03 17:19:58 +00:00
Campbell Barton
012fe4646c avoid confusion with image 'Edit Externally' operator, disallow editing of packed images, resolves bug [#30506]. 2012-04-03 12:02:32 +00:00
Campbell Barton
5edbaab4f0 fix [#30729]
custom property add/remove wasnt doing an undo push.
2012-03-30 03:33:42 +00:00
Bastien Montagne
388d8153c2 BMesh TODOs: use loops/polys instead of tessfaces. 2012-03-27 13:52:30 +00:00
Sergey Sharybin
b37387d3b0 Port Setup Tracking scene to bmesh api 2012-03-27 09:10:05 +00:00
Sergey Sharybin
730e2f582f MakeDupliFaces was using mesh.faces which was renamed to mesh.tessfaces.
TODO about porting it to polys is still relevant.
2012-03-27 08:59:36 +00:00
Bastien Montagne
56baed13da Fix [#30684] Bmesh AddTorus.execute failure.
Done BMESH_TODO (use polys/loops instead of tessfaces).
2012-03-26 12:43:48 +00:00
Sergey Sharybin
c6c8b283fa Setup tracking scene works again now 2012-03-26 07:51:47 +00:00
Campbell Barton
81d8f17843 style cleanup: pep8, indentation 2012-03-24 07:36:32 +00:00