Campbell Barton
4e61f8a836
pep8 whitespace commit
...
bpy/rna api (no functionality change, just move getting the srna py base into a function)
2009-11-07 22:07:46 +00:00
Martin Poirier
5bb88685ca
fluid cache need a +1 offset, their frame 0 is blender frame 1 (fun stuff)
2009-11-07 17:47:54 +00:00
Campbell Barton
f25bc95688
missed committing this file (from Stani's patch)
2009-11-07 14:17:49 +00:00
Campbell Barton
ddeb9f8e24
- added console language type
...
- separated python console from the interactive console
- added shell console type (simple example)
- console types are autodetected and can be selected in the menu
2009-11-06 23:53:40 +00:00
Campbell Barton
e2f01e4c7c
api changes suggested by Stani
2009-11-06 22:42:15 +00:00
Thomas Dinges
5c3a365ac4
* Added "Align View to Selected" to the View > Align View menu.
...
Patch by Jeff Doyle (nfz). Thanks!
2009-11-06 21:10:45 +00:00
Brecht Van Lommel
1327833282
Sculpt: WIP brush behavior changes
...
* Draw/Inflate/Layer now keep working on the original mesh coordinates and
normals from when the stroke started. This helps avoid the mesh blowing
up, but can still be better. The old behavior is still available as
"Accumulate" in the UI.
* This requires some more memory usage for the BVH, would like to find a
way to avoid that.
* Smooth falloff is now the default.
* Spacing is now enabled by default, with a value of 7.5.
* Anchored now stores normals per node to save some memory.
2009-11-06 16:46:35 +00:00
Campbell Barton
aa7374e471
- removing the last particle system now exits particle edit mode.
...
- py UI script used an undeclared variable
2009-11-06 12:27:28 +00:00
Campbell Barton
cc2476fde5
patch from Stani, support for function arguments in autocomplete
2009-11-06 08:53:07 +00:00
Kent Mein
bb0f4310aa
Simple one liner....
...
Added options to add Flip normals to toolbar. (iCer on irc is responsible)
Kent
2009-11-05 20:35:36 +00:00
Campbell Barton
44db0b0e27
view docs was broken for operators - was getting the nested class string.
2009-11-05 19:31:38 +00:00
Campbell Barton
aec92ddc51
operator to select pos/neg verts on any axis relative to the active vertex
...
- useful to select the center verts of a model without having to attempt to border select
- useful for selecting one half or a model
2009-11-05 18:29:48 +00:00
William Reynish
93b2ed3822
Moved the object and bone name fields out of the Transform panel in 3Dview properties. They're in a new panel now called 'Item'. Needs an update in the B.blend to put it on the top.
2009-11-05 17:22:11 +00:00
William Reynish
2907c6fdf0
Moved the buttons around slightly in shape keys, to make it clearer what is action buttons, and what is toggles.
2009-11-05 14:31:17 +00:00
Campbell Barton
be4ceb5fdf
Select interior faces, access from the mesh select menu
...
new mesh functions, remove duplicates in uvproject and mesh_skin
- face.edge_keys()
- edge.key()
- mesh.edge_face_count()
- mesh.edge_face_count_dict()
2009-11-05 12:37:49 +00:00
Campbell Barton
247f72fcc0
- added bpy.context to the python module
...
- made the console banner printing function into a python operator (includes sys.version)
- added 'C' into the consoles default namespace for convenience
2009-11-05 11:17:09 +00:00
Joshua Leung
06d5d53a24
Bugfixes + Spline IK Tweaks:
...
* #19819 : 'Select' operator for Hooks was crashing when Hooks didn't have any vertices assigned yet
* Default twist resolution mode for curves is now 'Minimise'. This seems to work better for Curve Deforms and other purposes. Can be changed if other ways are better after some more testing.
* Spline IK now has more options for controlling how the x and z axis scaling is determined. There is now a choice between using the radius of the curve, the x+z scaling from the bones, or no scaling (default). This does break old files a bit, but this is to have a more stable base for later.
2009-11-05 10:09:45 +00:00
Campbell Barton
48bc52ea1b
fix for editing docs
2009-11-05 10:02:14 +00:00
Matt Ebb
0b2bc7785d
* Fix for [ #19700 ] undo doesn't display visual feedback on lattices
...
Depgraph update was commented out in undo system because of globals, restored this with new context/id-based depgraph
* Fix in UV editor UV menu
* Slightly nicer default names for adding forcefields with Add menu
2009-11-05 09:57:43 +00:00
Matt Ebb
9eb0f20224
Added mass and spring vertex groups to softbody rna/ui
2009-11-05 02:50:26 +00:00
Campbell Barton
e6ea68a31c
- missing return values
...
- more detailed exceptions (always give file:line incase the python exception doesnt)
- fix some errors in the edit docs
editing docs still fails, need to figure out why.
2009-11-04 22:36:46 +00:00
Brecht Van Lommel
9c1c0152df
Sculpt: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24257:24330
2009-11-04 21:21:30 +00:00
Campbell Barton
08bbda5005
- Stopping jobs on undo wasnt fixing undo/redo while with render previews as it was supposed to: needed WM_jobs_stop_all rather then WM_jobs_stop because it ends the thread rather then just setting 'stop'.
...
- gpl header + warning fix
2009-11-04 20:50:09 +00:00
Martin Poirier
e73a2bd55a
make render, world and material buttons show when netrender is selected
2009-11-04 20:42:05 +00:00
Campbell Barton
3fa8959bb5
- move WM operators out of bpy_ops.py into their own file
...
- fix operator template
2009-11-04 20:21:08 +00:00
Brecht Van Lommel
6e1f215c20
Bugfix: sculpt layer brush "persistent" option was not showing up in UI.
2009-11-04 20:12:27 +00:00
Campbell Barton
51943096a9
bugfix [ #19804 ] .MDD is not working?? // Also filetype issue?
...
- made all exporters default to the blend filename with the extension replaced
- MDD's poll function now checks for an active mesh
- multiline docstrings are written as multiline docs when generating epydocs
2009-11-04 18:35:32 +00:00
Campbell Barton
8af525f860
bpy.ops.import.obj("somepath") is invalid syntax because import is a keyword.
...
rename import to import_scene, import_anim, future import_sequence_edl, import_model etc..
2009-11-04 17:16:58 +00:00
Campbell Barton
edeae7477b
fix for some python errors
2009-11-04 16:26:08 +00:00
Campbell Barton
4033aba579
new operator directory, move some scripts from io
2009-11-04 14:40:35 +00:00
Campbell Barton
69aaa43c24
quick update of bvh importer for blender 2.5, mostly this is to test the python api.
...
- bvh joint rotations are not working quite right yet
2009-11-04 14:33:37 +00:00
Campbell Barton
37fde5b335
bvh import from 2.4x (unchanged)
2009-11-04 14:31:14 +00:00
Campbell Barton
510aa6ba53
particle vertex group UI
...
Changed RNA vgroup access to use strings (string functions adjust the ints used internally)
2009-11-04 12:09:02 +00:00
Campbell Barton
46c8bfe151
Make Links (Ctrl+L) back
...
- split into 2 operators: object.make_links_data() & object.make_links_scene since they are quite different.
- added reusable functions RNA_group_itemf & RNA_scene_itemf which can be used for any operator that takes ID data (easy to add more types Mesh, Text etc)
- DummyRNA_NULL_items for dynamic items so each operator need not define its own empty enum.
2009-11-04 10:25:57 +00:00
Joshua Leung
de7da7c779
Bugfixes for Adding Objects:
...
* Auto enter EditMode for adding Armatures was broken
* Adding a camera no longer tries to enter editmode, even though that's invalid...
2009-11-04 09:45:37 +00:00
Joshua Leung
3c6b721fc9
Bugfix #19777 : Owner Space not Target Space for Action Constraint was getting exposed via the UI.
...
The former is useless and probably dangerous to enable here, while only the latter is useful for anything.
2009-11-04 05:45:57 +00:00
Nicholas Bishop
a4e91f8f1a
Moved the show brush flag from sculpt to paint, and it now shows/hides the brush as expected. Also fixed some errors in the UI scripts.
2009-11-03 22:50:09 +00:00
Campbell Barton
2db1851c26
uv smart project now in unwrap menu with 2 most important options
2009-11-03 18:56:42 +00:00
Campbell Barton
65f92c893e
- remove UV mapping operator, call a header menu directly (so python can add items there)
...
- forgot to move bpy_sys.py last commit
2009-11-03 18:20:03 +00:00
Campbell Barton
6680dcd24a
renamed bpy.sys to bpy.utils, since it used to be a attempt to replace pythons sys which is bundled now
2009-11-03 18:08:25 +00:00
Campbell Barton
e4f90d9379
quick port of smart project to 2.5x, no operator options yet
2009-11-03 17:51:22 +00:00
Campbell Barton
89c2b9a77e
script copied from 2.4x with no changes
2009-11-03 17:47:44 +00:00
Campbell Barton
b8b89d5ae4
active property for collections for things like scene.objects.active
...
will add more properties later
2009-11-03 16:07:29 +00:00
Joseph Eagar
d750a1b859
more missing files
2009-11-03 14:10:34 +00:00
Maxime Curioni
b65008dd6f
corrected indenting issues with properties_render.py
2009-11-03 09:50:59 +00:00
Maxime Curioni
9dab53a58a
merged changes to revision 24271
2009-11-03 09:15:21 +00:00
Campbell Barton
cbc5a78576
whitespace commit, (was some tabs mixed with spaces too)
2009-11-03 07:23:02 +00:00
Campbell Barton
acc09693c4
update from Keith Boshoff, use selected faces while in face-mask mode as well as some other cleanup
2009-11-02 20:18:05 +00:00
Campbell Barton
6bfcd5a811
how embarrassing!
2009-11-02 17:25:15 +00:00
William Reynish
67fd40f54c
Enabled theme editing in user preferences. There's still no way to Load/Save/Add/Delete though.
...
Code could be optimized greatly, but found it hard to get it to work nicely with auto-generated code.
2009-11-02 17:18:17 +00:00