blender.git
11 years agoSelect interior faces, access from the mesh select menu
Campbell Barton [Thu, 5 Nov 2009 12:37:49 +0000 (12:37 +0000)]
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()

11 years ago- added bpy.context to the python module
Campbell Barton [Thu, 5 Nov 2009 11:17:09 +0000 (11:17 +0000)]
- 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

11 years agopython console autocomplete would crash (missing NULL check for pose channels)
Campbell Barton [Thu, 5 Nov 2009 10:50:58 +0000 (10:50 +0000)]
python console autocomplete would crash (missing NULL check for pose channels)
add rna functions id.animation_data_create() and id.animation_data_clear() - works for all ID types that support animdata.

11 years agoBugfixes + Spline IK Tweaks:
Joshua Leung [Thu, 5 Nov 2009 10:09:45 +0000 (10:09 +0000)]
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.

11 years agoFix for error in previous fix - oops ( [#19818] )
Matt Ebb [Thu, 5 Nov 2009 10:02:29 +0000 (10:02 +0000)]
Fix for error in previous fix  - oops ( [#19818] )

11 years agofix for editing docs
Campbell Barton [Thu, 5 Nov 2009 10:02:14 +0000 (10:02 +0000)]
fix for editing docs

11 years ago* Fix for [#19700] undo doesn't display visual feedback on lattices
Matt Ebb [Thu, 5 Nov 2009 09:57:43 +0000 (09:57 +0000)]
* 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

11 years agoArmature Editing Bugfixes:
Joshua Leung [Thu, 5 Nov 2009 08:54:33 +0000 (08:54 +0000)]
Armature Editing Bugfixes:

* #19790: Circle Select doesn't work for Armature edit mode or pose mode
* Duplicate bones (Shift-D) was calling the wrong operator. This now uses the macro version, instead of the copy only.

11 years agoFix for [#19780] pivot for rotation/scaling doesn't use "active vert/edge/face"
Matt Ebb [Thu, 5 Nov 2009 04:37:42 +0000 (04:37 +0000)]
Fix for [#19780] pivot for rotation/scaling doesn't use "active vert/edge/face"

Martin please doublecheck, but it should be all good.

11 years agoFix for [#19793] Resolution Sliding Crashes Blender 2.5 SVN 24256
Matt Ebb [Thu, 5 Nov 2009 04:07:58 +0000 (04:07 +0000)]
Fix for [#19793] Resolution Sliding Crashes Blender 2.5 SVN 24256

11 years agoFix for [#19299] Color render bug
Matt Ebb [Thu, 5 Nov 2009 03:39:42 +0000 (03:39 +0000)]
Fix for [#19299] Color render bug
Caused by very evil AO subtractive mode going negative once again...

11 years agoAdded mass and spring vertex groups to softbody rna/ui
Matt Ebb [Thu, 5 Nov 2009 02:50:26 +0000 (02:50 +0000)]
Added mass and spring vertex groups to softbody rna/ui

11 years agoRNA transform properties for edit bones and metaballs
Matt Ebb [Thu, 5 Nov 2009 02:21:04 +0000 (02:21 +0000)]
RNA transform properties for edit bones and metaballs

11 years agoAdded RNA based transform properties for pose bones too.
Matt Ebb [Thu, 5 Nov 2009 01:00:17 +0000 (01:00 +0000)]
Added RNA based transform properties for pose bones too.

I've left the old code commented out for now hough - do we still want to
be able to edit all rotation types as eulers in the transform properties buttons?
Seems a bit odd to me, what do animators think? If so, maybe we need some
ui-level conversion options in the RNA buttons code...

11 years ago* Partial fix for bug [#19734] N panel's transform doesn't display the units
Matt Ebb [Wed, 4 Nov 2009 23:14:20 +0000 (23:14 +0000)]
* Partial fix for bug [#19734] N panel's transform doesn't display the units

Converted the Object transform properties to use rna/rna buttons. This has the advantage of not only displaying/editing units, but also RMB menu, keyframing, drivers, etc too. Part of this was to convert 'Dimensions' to an rna property, converting to and from scale. This also allows you to set the object's dimensions via fcurves or python, but note that it's driving the object scale setting internally so if you animate both dimension and scale at the same time one will override the other (i don't expect many people to attempt this).

11 years ago- missing return values
Campbell Barton [Wed, 4 Nov 2009 22:36:46 +0000 (22:36 +0000)]
- 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.

11 years ago- Stopping jobs on undo wasnt fixing undo/redo while with render previews as it was...
Campbell Barton [Wed, 4 Nov 2009 20:50:09 +0000 (20:50 +0000)]
- 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

11 years agomake render, world and material buttons show when netrender is selected
Martin Poirier [Wed, 4 Nov 2009 20:42:05 +0000 (20:42 +0000)]
make render, world and material buttons show when netrender is selected

11 years ago- move WM operators out of bpy_ops.py into their own file
Campbell Barton [Wed, 4 Nov 2009 20:21:08 +0000 (20:21 +0000)]
- move WM operators out of bpy_ops.py into their own file
- fix operator template

11 years agoBugfix: sculpt layer brush "persistent" option was not showing up in UI.
Brecht Van Lommel [Wed, 4 Nov 2009 20:12:27 +0000 (20:12 +0000)]
Bugfix: sculpt layer brush "persistent" option was not showing up in UI.

11 years agobugfix [#19804] .MDD is not working?? // Also filetype issue?
Campbell Barton [Wed, 4 Nov 2009 18:35:32 +0000 (18:35 +0000)]
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

11 years agoMac / Cocoa:
Damien Plisson [Wed, 4 Nov 2009 17:50:31 +0000 (17:50 +0000)]
Mac / Cocoa:

- Fix update event fired at each loop iteration. Thx Brecht for the patch
- Fix missing deactivate event when in fullscreen mode

11 years agobpy.ops.import.obj("somepath") is invalid syntax because import is a keyword.
Campbell Barton [Wed, 4 Nov 2009 17:16:58 +0000 (17:16 +0000)]
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..

11 years agofix for some python errors
Campbell Barton [Wed, 4 Nov 2009 16:26:08 +0000 (16:26 +0000)]
fix for some python errors

11 years agoMerging change 24311 from COLLADA branch into trunk which should fix object-based...
Arystanbek Dyussenov [Wed, 4 Nov 2009 15:25:57 +0000 (15:25 +0000)]
Merging change 24311 from COLLADA branch into trunk which should fix object-based rotation import/export. Bone rotation animation not fixed yet.

11 years agopython function for adding a driver. eg
Campbell Barton [Wed, 4 Nov 2009 15:16:41 +0000 (15:16 +0000)]
python function for adding a driver. eg

 ob.driver_add("location")
 ob.driver_add("location", 0) # x location only

Also changed ANIM_add_driver so an index of -1 adds drivers to every item in the array

11 years agonew operator directory, move some scripts from io
Campbell Barton [Wed, 4 Nov 2009 14:40:35 +0000 (14:40 +0000)]
new operator directory, move some scripts from io

11 years agoquick update of bvh importer for blender 2.5, mostly this is to test the python api.
Campbell Barton [Wed, 4 Nov 2009 14:33:37 +0000 (14:33 +0000)]
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

11 years agobvh import from 2.4x (unchanged)
Campbell Barton [Wed, 4 Nov 2009 14:31:14 +0000 (14:31 +0000)]
bvh import from 2.4x (unchanged)

11 years agoBridge edge loops would loose all edge flags.
Campbell Barton [Wed, 4 Nov 2009 14:28:43 +0000 (14:28 +0000)]
Bridge edge loops would loose all edge flags.
Would happen in any case where python added new mesh data into an existing mesh.

fix by copying the old edges into the new array

11 years agochange to insert_keyframe() so an array index of -1 keys all arrays indices
Campbell Barton [Wed, 4 Nov 2009 14:06:10 +0000 (14:06 +0000)]
change to insert_keyframe() so an array index of -1 keys all arrays indices
made this default for python so you can do...
 pose_bone.keyframe_insert("location")

rather then
 pose_bone.keyframe_insert("location", 0)
 pose_bone.keyframe_insert("location", 1)
 pose_bone.keyframe_insert("location", 2)

11 years agoparticle vertex group UI
Campbell Barton [Wed, 4 Nov 2009 12:09:02 +0000 (12:09 +0000)]
particle vertex group UI
Changed RNA vgroup access to use strings (string functions adjust the ints used internally)

11 years agoSpline IK: Rolling Control
Joshua Leung [Wed, 4 Nov 2009 11:30:48 +0000 (11:30 +0000)]
Spline IK: Rolling Control

Recoded the way that Spline-IK computes the x+z axes of the bones so that flipping artifacts are minimised, and the rotation of individual bones can be used to affect the results of the solution, as per requests from Cessen.

The bone matrices are now computed normally, and then made to conform to the orientation + scaling imposed by the splines, using the Damped-Track method. Previously, the axes of the bones were calculated without regarding the prior orientation of other bones in the chain, which lead to "z-twists".

Notes for further investigation:
- There appears to be some shearing that gets introduced now. Unforunately, I can't seem to isolate the cause of this, but I hope it's not going to become too much of a problem in general.
- Maybe inverse corrections for rotation will now be necessary when using transform tools?

11 years agoMake Links (Ctrl+L) back
Campbell Barton [Wed, 4 Nov 2009 10:25:57 +0000 (10:25 +0000)]
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.

11 years agoSecond try at fixing this... the props were still not getting initialised in many...
Joshua Leung [Wed, 4 Nov 2009 09:55:24 +0000 (09:55 +0000)]
Second try at fixing this... the props were still not getting initialised in many cases, but this time because those were using the exec() callbacks which didn't set this. This fix ain't that nice, but at least the old functionality works again like 2.4x.

11 years agoBugfixes for Adding Objects:
Joshua Leung [Wed, 4 Nov 2009 09:45:37 +0000 (09:45 +0000)]
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...

11 years agoFix #19533: Autoupdate check box not working for UV/Image Editor.
Brecht Van Lommel [Wed, 4 Nov 2009 09:22:16 +0000 (09:22 +0000)]
Fix #19533: Autoupdate check box not working for UV/Image Editor.

11 years agoFix #19742: shape key crashes for curve & lattice.
Brecht Van Lommel [Wed, 4 Nov 2009 09:20:31 +0000 (09:20 +0000)]
Fix #19742: shape key crashes for curve & lattice.

11 years agoFix bug #19749: browsing path in user preferences would crash.
Brecht Van Lommel [Wed, 4 Nov 2009 08:59:01 +0000 (08:59 +0000)]
Fix bug #19749: browsing path in user preferences would crash.

11 years agoFix bug #19699: point density texture doesn't save particle system.
Brecht Van Lommel [Wed, 4 Nov 2009 08:44:42 +0000 (08:44 +0000)]
Fix bug #19699: point density texture doesn't save particle system.

Non-ID pointers in DNA can only point to data from own ID block, so
now instead it uses an index into the particle system list, but still
exposed as a pointer through RNA.

11 years agoBugfix #19777: Owner Space not Target Space for Action Constraint was getting exposed...
Joshua Leung [Wed, 4 Nov 2009 05:45:57 +0000 (05:45 +0000)]
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.

11 years agoFix for [#19745] displacement modifier is messing up texture coordinates when using...
Matt Ebb [Wed, 4 Nov 2009 05:31:42 +0000 (05:31 +0000)]
Fix for [#19745] displacement modifier is messing up texture coordinates when using an object for texture coordinates

Modifier was resetting object's imat to worldspace during render process, where it is assumed to be in camera space.

11 years agoFix for [#19460] (+) widgets to expand UI elements overlap other windows
Matt Ebb [Wed, 4 Nov 2009 04:13:30 +0000 (04:13 +0000)]
Fix for [#19460] (+) widgets to expand UI elements overlap other windows

11 years agoFix for [#19752] I cant get the particles to render as an object
Matt Ebb [Wed, 4 Nov 2009 03:01:39 +0000 (03:01 +0000)]
Fix for [#19752] I cant get the particles to render as an object

11 years agoSoft bodies care for real time
Jens Ole Wund [Wed, 4 Nov 2009 00:21:25 +0000 (00:21 +0000)]
Soft bodies care for real time

11 years agoChanged hand-generated RNA paths to quote strings used as collection indexes.
Matt Ebb [Tue, 3 Nov 2009 22:07:15 +0000 (22:07 +0000)]
Changed hand-generated RNA paths to quote strings used as collection indexes.
Previous method worked fine for Blender animation system, but this is more convenient for Python.

11 years agouv smart project now in unwrap menu with 2 most important options
Campbell Barton [Tue, 3 Nov 2009 18:56:42 +0000 (18:56 +0000)]
uv smart project now in unwrap menu with 2 most important options

11 years ago- remove UV mapping operator, call a header menu directly (so python can add items...
Campbell Barton [Tue, 3 Nov 2009 18:20:03 +0000 (18:20 +0000)]
- remove UV mapping operator, call a header menu directly (so python can add items there)
- forgot to move bpy_sys.py last commit

11 years agorenamed bpy.sys to bpy.utils, since it used to be a attempt to replace pythons sys...
Campbell Barton [Tue, 3 Nov 2009 18:08:25 +0000 (18:08 +0000)]
renamed bpy.sys to bpy.utils, since it used to be a attempt to replace pythons sys which is bundled now

11 years agoquick port of smart project to 2.5x, no operator options yet
Campbell Barton [Tue, 3 Nov 2009 17:51:22 +0000 (17:51 +0000)]
quick port of smart project to 2.5x, no operator options yet

11 years agoscript copied from 2.4x with no changes
Campbell Barton [Tue, 3 Nov 2009 17:47:44 +0000 (17:47 +0000)]
script copied from 2.4x with no changes

11 years agoPatch [#19799] Add trackball loop to rotate manipulator
Martin Poirier [Tue, 3 Nov 2009 17:44:12 +0000 (17:44 +0000)]
Patch [#19799] Add trackball loop to rotate manipulator
by Adrian Winchell (slightly modified)

This adds a center circle (like translation and resize) to the rotation manipulator that triggers trackball rotation.

11 years agoerror in last commit (wasnt writing NULL when no active property exists)
Campbell Barton [Tue, 3 Nov 2009 17:00:38 +0000 (17:00 +0000)]
error in last commit (wasnt writing NULL when no active property exists)
added id.tag so you can tag any library data - materials, meshes etc

11 years agoactive property for collections for things like scene.objects.active
Campbell Barton [Tue, 3 Nov 2009 16:07:29 +0000 (16:07 +0000)]
active property for collections for things like scene.objects.active
will add more properties later

11 years ago- Shift+F1 is append in 2.4x (not link). Lee asked it to be made the same.
Campbell Barton [Tue, 3 Nov 2009 11:00:10 +0000 (11:00 +0000)]
- Shift+F1 is append in 2.4x (not link). Lee asked it to be made the same.
- use OBJECT_OT_mode_set rather then OBJECT_OT_*_toggle, better for using report output for script input. OBJECT_OT_posemode_toggle and OBJECT_OT_editmode_toggle are called by OBJECT_OT_mode_set.

11 years agoMac :
Damien Plisson [Tue, 3 Nov 2009 09:56:18 +0000 (09:56 +0000)]
Mac :
- add optimize flags setting in CMake for release builds

11 years agoSlightly nicer OS X quit message
Matt Ebb [Tue, 3 Nov 2009 07:24:22 +0000 (07:24 +0000)]
Slightly nicer OS X quit message

11 years agowhitespace commit, (was some tabs mixed with spaces too)
Campbell Barton [Tue, 3 Nov 2009 07:23:02 +0000 (07:23 +0000)]
whitespace commit, (was some tabs mixed with spaces too)

11 years agoFix [#19759] Point Density Texture
Matt Ebb [Tue, 3 Nov 2009 06:04:42 +0000 (06:04 +0000)]
Fix [#19759] Point Density Texture

Use derivedmesh functions to get object vertices, rather than objectren verts (which can not exist if object is non-renderable)

11 years ago* Fix for bug [#19726] Cannot add FCurve to any option under the physics panel except...
Matt Ebb [Tue, 3 Nov 2009 02:49:36 +0000 (02:49 +0000)]
* Fix for bug [#19726] Cannot add FCurve to any option under the physics panel except cloth

I had to add some ugly RNA path finding code here, checking for all places these structs can possibly be reused. Can't think of a better way to go about this though with the path stored in the RNA type...?

11 years ago== COLLADA ==
Nathan Letwory [Mon, 2 Nov 2009 23:55:04 +0000 (23:55 +0000)]
== COLLADA ==

* fix win64 build and add proper library usage for COLLADA 64bit. Update also lib/win64 (r24263).

11 years agofixing minor issues
Jens Ole Wund [Mon, 2 Nov 2009 23:42:08 +0000 (23:42 +0000)]
fixing minor issues
such as ignoring forward timing rule

11 years agoMac :
Damien Plisson [Mon, 2 Nov 2009 20:40:47 +0000 (20:40 +0000)]
Mac :
- remove CMake warnings when building with openMP

11 years agoupdate from Keith Boshoff, use selected faces while in face-mask mode as well as...
Campbell Barton [Mon, 2 Nov 2009 20:18:05 +0000 (20:18 +0000)]
update from Keith Boshoff, use selected faces while in face-mask mode as well as some other cleanup

11 years agoMake transform axis constraint projection more robust (less flip).
Martin Poirier [Mon, 2 Nov 2009 19:37:18 +0000 (19:37 +0000)]
Make transform axis constraint projection more robust (less flip).

It will still flip, but it now has a small buffer region before it does that which returns a really large positive or negative value. This still only happens in perspective cases, when moving along an axis that is nearly aligned with the view.

11 years agohow embarrassing!
Campbell Barton [Mon, 2 Nov 2009 17:25:15 +0000 (17:25 +0000)]
how embarrassing!

11 years ago- "selected_pchans" is now at screen level context (not just view3d) so can use for...
Campbell Barton [Mon, 2 Nov 2009 17:24:06 +0000 (17:24 +0000)]
- "selected_pchans" is now at screen level context (not just view3d) so can use for adding bones to a group.
- separate assign to Y key rather then Ctrl+4

11 years agoEnabled theme editing in user preferences. There's still no way to Load/Save/Add...
William Reynish [Mon, 2 Nov 2009 17:18:17 +0000 (17:18 +0000)]
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.

11 years agoarmatures didnt allocate enough memort for make_trans_verts
Campbell Barton [Mon, 2 Nov 2009 17:15:14 +0000 (17:15 +0000)]
armatures didnt allocate enough memort for make_trans_verts
result in blender crash when pressing numpad del.

11 years agomoving nodes would crash because it ran object update functions
Campbell Barton [Mon, 2 Nov 2009 16:55:06 +0000 (16:55 +0000)]
moving nodes would crash because it ran object update functions

11 years agoPose bone menu (Ctrl+G) wasnt working, replace with a reference to python menu.
Campbell Barton [Mon, 2 Nov 2009 16:39:45 +0000 (16:39 +0000)]
Pose bone menu (Ctrl+G) wasnt working, replace with a reference to python menu.

11 years ago- all add object operators now take view_align as an argument, and enter_editmode...
Campbell Barton [Mon, 2 Nov 2009 16:07:49 +0000 (16:07 +0000)]
- all add object operators now take view_align as an argument, and enter_editmode where its used. Makes running the operator from python pradictable without having to know the user prefs.
- missing return in function
- python error in view3d (assumed active object exists)

11 years agoMac :
Damien Plisson [Mon, 2 Nov 2009 14:03:13 +0000 (14:03 +0000)]
Mac :
- Updated CMake files for building with openCollada

Update of the 10.5 libs including openCollada is coming in next commit

11 years ago*Added subdivide to armature toolbar, and gave it a hotkey (W)
William Reynish [Mon, 2 Nov 2009 13:20:14 +0000 (13:20 +0000)]
*Added subdivide to armature toolbar, and gave it a hotkey (W)
*Fixed some remaining icon issue in the shape key properties

11 years ago* Set some custom empty draw types on adding force fields, where relevant
Matt Ebb [Mon, 2 Nov 2009 11:37:35 +0000 (11:37 +0000)]
* Set some custom empty draw types on adding force fields, where relevant

11 years ago* Added a new 'bone constraint' property editor icon and panel titles to distinguish...
Matt Ebb [Mon, 2 Nov 2009 11:36:45 +0000 (11:36 +0000)]
* Added a new 'bone constraint' property editor icon and panel titles to distinguish bone constraints from object constraints

It was a bit too confusing and people were easily getting them mixed up.

11 years agoMac / COCOA :
Damien Plisson [Mon, 2 Nov 2009 11:20:31 +0000 (11:20 +0000)]
Mac / COCOA :
- revert tiff load/save to use standard libtiff (to ensure 100% colorimetry & alpha interpretation across platforms)
- include patch #18720 to fix load of libtiff dynlib (if present on system)

11 years agomany operators uses Bases, for the python to set operators context python too needs...
Campbell Barton [Mon, 2 Nov 2009 11:14:22 +0000 (11:14 +0000)]
many operators uses Bases, for the python to set operators context python too needs to be able to access bases.
- added scene.bases (like scene.objects)
- renamed group create operator.

Example
 scene = bpy.data.scenes[0]
 C = {}
 C["scene"] = scene
 C["selected_editable_bases"] = [scene.bases[2], scene.bases[3]]

 bpy.ops.group.create(C)

Also made operator fake modules not return __call__ (reported by Stani, fixes autocomp. bug)

11 years agoFix for bug [#19668] Blender freezes if step size 0 is used for a volumetric material...
Matt Ebb [Mon, 2 Nov 2009 10:30:51 +0000 (10:30 +0000)]
Fix for bug [#19668] Blender freezes if step size 0 is used for a volumetric material --  limit the minimum step size

11 years agoFixed typo in key display code, was making the shortcuts for [ and ] (used in bone...
Matt Ebb [Mon, 2 Nov 2009 10:20:06 +0000 (10:20 +0000)]
Fixed typo in key display code, was making the shortcuts for [ and ] (used in bone selection) inverted in the menu shortcut hint

11 years agoSpline IK Experimental Features:
Joshua Leung [Mon, 2 Nov 2009 10:04:37 +0000 (10:04 +0000)]
Spline IK Experimental Features:
1) "Even Divisions" - This option ignores the length of bones when considering how they should fit along the curve. This is useful for getting a smoother curve fit without having to worry about getting the bone lengths spot on. By default, this is disabled.

2) "Keep Max Length" - This option prevents the bone chain from extending past its natural length when the spline is stretched beyond that length. When the spline length is substatially shorter though, this bones get scaled to zero; making this option possibly useful for doing "growing tips".
This is essentially a 'no scale' option, although the behaviour when the curve is shorter is really a compromise since the curve cannot be accurately satisfied + left intact without some scaling being applied due to the way this works.

3) "Radius to Thickness" - The average radius of the spline between at the head+tail of each bone determines the x+z scaling of the bone.

11 years agoAdded back texture filter/minimum settings to image texture properties
Matt Ebb [Mon, 2 Nov 2009 09:31:55 +0000 (09:31 +0000)]
Added back texture filter/minimum settings to image texture properties

11 years agovertex paint script ported by - Keith "Wahooney" Boshoff
Campbell Barton [Mon, 2 Nov 2009 09:26:55 +0000 (09:26 +0000)]
vertex paint script ported by - Keith "Wahooney" Boshoff
Todo
- Add back nicer normal calculation function
- Make pep8 compliant
- Add vertex color layer when none exist

11 years agomake python operator instances subclasses of the wmOperator when called.
Campbell Barton [Mon, 2 Nov 2009 08:32:00 +0000 (08:32 +0000)]
make python operator instances subclasses of the wmOperator when called.
was subclassing the operator's type before.

Removes the need for passing self.__operator__, can pass self directly.

11 years agoAdded some missing menu items + fixes
Matt Ebb [Mon, 2 Nov 2009 08:05:16 +0000 (08:05 +0000)]
Added some missing menu items + fixes

11 years ago== COLLADA ==
Nathan Letwory [Mon, 2 Nov 2009 00:30:52 +0000 (00:30 +0000)]
== COLLADA ==

* proper library names and order. Goes together with 76MB commit for r24225

11 years agolast commit broke running python operators
Campbell Barton [Mon, 2 Nov 2009 00:20:07 +0000 (00:20 +0000)]
last commit broke running python operators
note that you can still set rna properties like this.
 bpy.data.__dict__["var"] = 1
 print(bpy.data.var)

but this is only stored for the python objects lifetime and not actually attached to blenders data

11 years agoSpline IK Bugfixes 1:
Joshua Leung [Sun, 1 Nov 2009 22:30:47 +0000 (22:30 +0000)]
Spline IK Bugfixes 1:
* Fixed crash when reloading a file with Spline IK and/or Damped Track constraints. The targets for these constraints weren't getting relinked.
* Fixed problems with removing Spline IK making some bones unable to be manipulated.
* Jotted down some comments in the Spline IK code noting places where additional tweaks will be added.

11 years agorna structs would not raise an error when assigning invalid properties
Campbell Barton [Sun, 1 Nov 2009 21:53:45 +0000 (21:53 +0000)]
rna structs would not raise an error when assigning invalid properties
netrender needed updating for this.
 hint, bpy.data is not a module

11 years agoSimplify gimbal axis code and make gimbal orientation work correctly with parents...
Martin Poirier [Sun, 1 Nov 2009 21:10:54 +0000 (21:10 +0000)]
Simplify gimbal axis code and make gimbal orientation work correctly with parents (objects or pose bones). Works for all euler orders too, obviously.

11 years agoFix view3d rna to work with new number of orientations (use constant instead of value...
Martin Poirier [Sun, 1 Nov 2009 20:17:30 +0000 (20:17 +0000)]
Fix view3d rna to work with new number of orientations (use constant instead of value, safer for future).

11 years agoafter transform update didn't run because of stupid typo
Martin Poirier [Sun, 1 Nov 2009 20:09:03 +0000 (20:09 +0000)]
after transform update didn't run because of stupid typo

11 years agoFixed a few icons in user preferences Input tab
William Reynish [Sun, 1 Nov 2009 19:45:50 +0000 (19:45 +0000)]
Fixed a few icons in user preferences Input tab

11 years agoadd_mesh_torus now passes the pep8 test
Campbell Barton [Sun, 1 Nov 2009 18:07:35 +0000 (18:07 +0000)]
add_mesh_torus now passes the pep8 test

11 years agoAdded proper icon for full screen mode. Would be nice to have this button eventually...
William Reynish [Sun, 1 Nov 2009 18:05:01 +0000 (18:05 +0000)]
Added proper icon for full screen mode. Would be nice to have this button eventually be right-aligned.

11 years agoMSVC project files update for collada. It won't compile yet, waiting for lib/windows...
Benoit Bolsee [Sun, 1 Nov 2009 17:12:09 +0000 (17:12 +0000)]
MSVC project files update for collada. It won't compile yet, waiting for lib/windows/collada to be updated.

11 years agoCorrect GPL license header for all python scripts
Martin Poirier [Sun, 1 Nov 2009 15:21:20 +0000 (15:21 +0000)]
Correct GPL license header for all python scripts

11 years agoCompile fix for too many arguments to uiItemO
Martin Poirier [Sun, 1 Nov 2009 14:19:35 +0000 (14:19 +0000)]
Compile fix for too many arguments to uiItemO

11 years ago* OpenGL Render is now available again from the View3D Header.
Thomas Dinges [Sun, 1 Nov 2009 14:04:37 +0000 (14:04 +0000)]
* OpenGL Render is now available again from the View3D Header.

11 years agoQuick tweak to version patching code for Camera IPO's to fix one of the issues in...
Joshua Leung [Sun, 1 Nov 2009 11:33:41 +0000 (11:33 +0000)]
Quick tweak to version patching code for Camera IPO's to fix one of the issues in bugreport 19761.

For now, this just assumes that the 'lens' parameter was animated (assuming a perspective lens was used). Unfortunately, this may not always be correct, but at least there's a path now that can lead to further tweaking.