12 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.

12 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.

12 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...

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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

12 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

12 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.

12 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

12 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 last commit

12 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

12 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

12 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

12 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.

12 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

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

12 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.

12 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

12 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

12 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)

12 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)

12 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...?

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

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

12 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

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

12 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

12 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.

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

12 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

12 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.

12 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.

12 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

12 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.

12 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)

12 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

12 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

12 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

12 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.

12 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)

12 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.

 scene =[0]
 C = {}
 C["scene"] = scene
 C["selected_editable_bases"] = [scene.bases[2], scene.bases[3]]

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

12 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

12 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

12 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.

12 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

12 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
- Add back nicer normal calculation function
- Make pep8 compliant
- Add vertex color layer when none exist

12 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.

12 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

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

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

12 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.["var"] = 1

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

12 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.

12 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, is not a module

12 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.

12 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).

12 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

12 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

12 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

12 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.

12 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.

12 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

12 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

12 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.

12 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.

12 years agoRigging Goodies: Spline IK Constraint
Joshua Leung [Sun, 1 Nov 2009 11:29:40 +0000 (11:29 +0000)]
Rigging Goodies: Spline IK Constraint

At last, this commit introduces the Spline IK Constraint to Blender. Spline IK is a constraint that makes n bones follow the shape of a specified curve.

Simply add a chain of bones, add a curve, add a Spline IK Constraint to the tip bone and set the number of bones in the chain to make it work. Or, try the following test file:

Screenshots of this in action (as proof):

I've implemented this in a similar way to how standard IK solvers are done. However, this code is currently not an IK plugin, since I imagine that it would be useful to be able to combine the 2 types of IK. This can be easily changed though :)

Finally, a few notes on what to expect still:
* Constraint blending currently doesn't affect this. Getting that to work correctly will take a bit more work still.
* Options for not affecting the root joint (to make it easier to attach the chain to a stump or whatever), and non-uniform scaling options have yet to be added. I've marked the places where they can be added though
* Control over the twisting of the chain still needs investigation.

Have fun!

12 years ago* Some guideline work for the particle py file.
Thomas Dinges [Sun, 1 Nov 2009 10:45:42 +0000 (10:45 +0000)]
* Some guideline work for the particle py file.
* Minor layout tweaks in Node RNA to match most other RNA enums.

12 years agoMac / COCOA :
Damien Plisson [Sun, 1 Nov 2009 08:23:53 +0000 (08:23 +0000)]
Mac / COCOA :
- fix imbuf Cocoa resolution handling issue

12 years agoObject PET works with autokey.
Martin Poirier [Sun, 1 Nov 2009 02:52:38 +0000 (02:52 +0000)]
Object PET works with autokey.

Reordering some function calls in transform cleanup to make it simpler (that means other fixes are possible too, sequencer probably don't need it's own freeing function anymore).

12 years agomade scripts pass the pep8 test (though not fully pep8 yet)
Campbell Barton [Sat, 31 Oct 2009 23:35:56 +0000 (23:35 +0000)]
made scripts pass the pep8 test (though not fully pep8 yet)
added comment in header to know if a script has been converted or not.

12 years agoGPL2 header from firebird (without disclaimer), notice theres no copyright attributed...
Campbell Barton [Sat, 31 Oct 2009 20:16:59 +0000 (20:16 +0000)]
GPL2 header from firebird (without disclaimer), notice theres no copyright attributed and only the GPLv2 (without the v2 or later clause).
Contributors list isnt used much in our C code so probably its easier if people just use svn blame for this.

Can change if this isnt acceptable but I guessed people didnt care so much since most scripts had no header.

12 years agorenamed buttons ui files to properties to match UI name change, needed to update...
Campbell Barton [Sat, 31 Oct 2009 19:57:59 +0000 (19:57 +0000)]
renamed buttons ui files to properties to match UI name change, needed to update some imports too

12 years agotabs to spaces, remove trailing white space. (apart of pep8)
Campbell Barton [Sat, 31 Oct 2009 19:31:45 +0000 (19:31 +0000)]
tabs to spaces, remove trailing white space. (apart of pep8)
didnt do "release/scripts/io" since some exporters cant be auto converted

12 years agoimproved class validation, variables defined by the rna interface as non-optional...
Campbell Barton [Sat, 31 Oct 2009 18:48:58 +0000 (18:48 +0000)]
improved class validation, variables defined by the rna interface as non-optional could fail silently when absent in the class. Set these to PROP_REGISTER_OPTIONAL and raise an error when others are not found.
last commit broke povray too.

12 years agodefine operator properties in the class, similar to django fields
Campbell Barton [Sat, 31 Oct 2009 16:40:14 +0000 (16:40 +0000)]
define operator properties in the class, similar to django fields

# Before
bpy.props.StringProperty(attr="path", name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= ""),
bpy.props.BoolProperty(attr="use_modifiers", name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default= True),
bpy.props.BoolProperty(attr="use_normals", name="Export Normals", description="Export Normals for smooth and hard shaded faces", default= True),
bpy.props.BoolProperty(attr="use_uvs", name="Export UVs", description="Exort the active UV layer", default= True),
bpy.props.BoolProperty(attr="use_colors", name="Export Vertex Colors", description="Exort the active vertex color layer", default= True)

# After
path = StringProperty(attr="", name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= "")
use_modifiers = BoolProperty(attr="", name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default= True)
use_normals = BoolProperty(attr="", name="Export Normals", description="Export Normals for smooth and hard shaded faces", default= True)
use_uvs = BoolProperty(attr="", name="Export UVs", description="Exort the active UV layer", default= True)
use_colors = BoolProperty(attr="", name="Export Vertex Colors", description="Exort the active vertex color layer", default= True)

12 years agochange blender python interface for classes not to ise __idname__ rather bl_idname...
Campbell Barton [Sat, 31 Oct 2009 13:31:23 +0000 (13:31 +0000)]
change blender python interface for classes not to ise __idname__ rather bl_idname since __somename__ is for pythons internal use.

"__idname__" -> "bl_idname"
"__props__" -> "bl_props"
"__label__" -> "bl_label"
"__register__" -> "bl_register"
"__undo__" -> "bl_undo"
"__space_type__" -> "bl_space_type"
"__default_closed__" -> "bl_default_closed"
"__region_type__" -> "bl_region_type"
"__context__" -> "bl_context"
"__show_header__" -> "bl_show_header"
"__URL__" -> "_url"

12 years agoCommit of Patch [#19768] Add View3d Menu Items: View -> Playback Animation and View...
Thomas Dinges [Sat, 31 Oct 2009 10:17:19 +0000 (10:17 +0000)]
Commit of Patch [#19768] Add View3d Menu Items: View -> Playback Animation and View->Cameras->Active Camera
by Jeff Doyle (nfz). Thanks!

12 years agoResizing didn't handle PET correctly for size attributes (position was ok, that's...
Martin Poirier [Sat, 31 Oct 2009 02:54:27 +0000 (02:54 +0000)]
Resizing didn't handle PET correctly for size attributes (position was ok, that's why it worked alright in edit mode).

12 years agopep8 compliance for
Campbell Barton [Sat, 31 Oct 2009 01:23:49 +0000 (01:23 +0000)]
pep8 compliance for
add bpy.props to the modules so you can do...
 from bpy.props import *

12 years agoCommit of Patch [#19711] Add Menu Item: View3d -> View -> Show All Layers
Thomas Dinges [Fri, 30 Oct 2009 21:56:09 +0000 (21:56 +0000)]
Commit of Patch [#19711] Add Menu Item: View3d -> View -> Show All Layers
by Jeff Doyle (nfz). Thanks!

This adds:
* "Show All Layers" to the View3d -> View menu
* "Center Cursor and View All" and "Align
Active Camera to View" to the align view submenu.

12 years agosmall change to strip-swap, Made keys Alt+L/RArrowKey, added in menu, dont treat...
Campbell Barton [Fri, 30 Oct 2009 21:40:07 +0000 (21:40 +0000)]
small change to strip-swap, Made keys Alt+L/RArrowKey, added in menu, dont treat color strips like other effects

12 years agoMake Collada False by default everywhere
Martin Poirier [Fri, 30 Oct 2009 20:47:13 +0000 (20:47 +0000)]
Make Collada False by default everywhere

12 years ago2.5 Sequencer
Andrea Weikert [Fri, 30 Oct 2009 20:40:41 +0000 (20:40 +0000)]
2.5 Sequencer
Swap active sequence with the sequence on the right (CTRL+R) or left (CTRL+L).
was small Durian wish.

Note: in find_next_prev removed the code to find selected only if sel was != 0
I believe it should be possible to pass -1 in the case I want to find the next strip
regardless of selection state.

12 years agoMac / COCOA :
Damien Plisson [Fri, 30 Oct 2009 20:20:48 +0000 (20:20 +0000)]
Mac / COCOA :
- fix 10.4 compile issues

- fix some scons issues & add WITH_BF_COLLADA = False in scons to allow build waiting for complete Collada Mac implementation

12 years agoB.blend update
William Reynish [Fri, 30 Oct 2009 20:02:56 +0000 (20:02 +0000)]
B.blend update
Received some additional feedback on the various screens

*Added Game Logic screen, with Logic editor, text editor, outliner and 3D view
*Added Properties screen, good for having direct access to loads of properties on a second monitor
*Tweaked UV Editing screen, removing timeline, and providing access to texture mapping and texture layers
*Tweaked Compositing screen, adding image editor and 3D view camera, and providing fast access to passes.
*Reordered some panels in the N-key area
*Added n-key properties area in the sequencer.

12 years ago2.5 Nodes:
Thomas Dinges [Fri, 30 Oct 2009 19:31:44 +0000 (19:31 +0000)]
2.5 Nodes:
* Wrapped Math, Vector Math and Texture Node.

12 years agoRevert changes committed by accident in 24168
Martin Poirier [Fri, 30 Oct 2009 17:50:45 +0000 (17:50 +0000)]
Revert changes committed by accident in 24168
(this was experimental code for "ladder-like" mouse adjustment of float values)

12 years agoProportional edit for object mode.
Martin Poirier [Fri, 30 Oct 2009 17:48:50 +0000 (17:48 +0000)]
Proportional edit for object mode.


1) Parents and children of selected objects are excluded from the pool (siblings are ok) Making it work with that would required unparenting and reparenting after transform, that would turn nasty really quick.

2) Does not support Connected (this could be done through parent links, but see 3 first).

3) Parent relationships in affected objects aren't taken into account. When parent and children in the area of effect, remember that the children will also take the motion of the parents (with additive results). This could perhaps be fixed, but it could be nasty.

Other stuff:
New BASE_EDITABLE macro that checks if base is editable (like TESTBASELIB except it doesn't check for selection)
Add scene parameter to TESTBASELIB_BGMODE macro (using it from current scope is nasty)

12 years ago- setting the active object in rna works properly now (notifiers added)
Campbell Barton [Fri, 30 Oct 2009 17:23:40 +0000 (17:23 +0000)]
- setting the active object in rna works properly now (notifiers added)
- adding keyframes now works for bones and other data types (not just ID types)

# Add a pose bone keyframe['Armature.001'].pose.pose_channels["Hip"].keyframe_insert("location")

# Add an object keyframe (worked before)['Armature.001'].keyframe_insert("location")

12 years agoMerge of the COLLADA GSoC branch into trunk.
Arystanbek Dyussenov [Fri, 30 Oct 2009 15:35:50 +0000 (15:35 +0000)]
Merge of the COLLADA GSoC branch into trunk.

COLLADA code is disabled by default (it has dependencies requiring manual install).

SCons and CMake builds are supported on Windows and Linux, no Mac building yet. More on building COLLADA code:

The detailed command log of the merge (can be useful for educational purposes):

# collada code
svn copy $branch/source/blender/collada source/blender/collada
# operator
svn merge -c 20401,20955,21077,24077,24079 $branch/source/blender/windowmanager/intern/wm_operators.c source/blender/windowmanager/intern/wm_operators.c
# menu
svn merge -c 24079 $branch/release/scripts/ui/ release/scripts/ui/
# scons
svn merge -c 20398 $branch/source/blender/SConscript source/blender/SConscript
svn merge -c 20398,20691,20955,22726 $branch/tools/ tools/
svn merge -c 20691,20955,22726 $branch/tools/ tools/
svn merge -c 20398,20692,20955 $branch/config/ config/
svn merge -c 22726 $branch/config/ config/
svn merge -c 22726 $branch/config/ config/
svn merge -c 24077 $branch/source/blender/windowmanager/SConscript source/blender/windowmanager/SConscript
# cmake
svn merge -c 23319,23905,24077,24158 $branch/CMakeLists.txt CMakeLists.txt
svn merge -c 23319 $branch/source/blender/CMakeLists.txt source/blender/CMakeLists.txt
svn merge -c 23319 $branch/source/creator/CMakeLists.txt source/creator/CMakeLists.txt
svn merge -c 23319 $branch/CMake/macros.cmake CMake/macros.cmake
svn merge -c 24077 $branch/source/blender/windowmanager/CMakeLists.txt source/blender/windowmanager/CMakeLists.txt

12 years agoupdating mathutils wrapped attributes now runs rna update functions too
Campbell Barton [Fri, 30 Oct 2009 13:58:43 +0000 (13:58 +0000)]
updating mathutils wrapped attributes now runs rna update functions too

12 years agoown commit r24178 broke adding objects, need to look into why but this fixes for now
Campbell Barton [Fri, 30 Oct 2009 13:26:29 +0000 (13:26 +0000)]
own commit r24178 broke adding objects, need to look into why but this fixes for now

12 years agocheck for error that could happen when making editmode armatures
Campbell Barton [Fri, 30 Oct 2009 13:08:58 +0000 (13:08 +0000)]
check for error that could happen when making editmode armatures

12 years agouse context functions rather then macros
Campbell Barton [Fri, 30 Oct 2009 12:35:17 +0000 (12:35 +0000)]
use context functions rather then macros

12 years ago- Simplified EulToGimbalAxis, its still only works on XYZ and ZXY but at least its...
Campbell Barton [Fri, 30 Oct 2009 12:11:04 +0000 (12:11 +0000)]
- Simplified EulToGimbalAxis, its still only works on XYZ and ZXY but at least its more clear whats going on.
- Made RotOrderInfo use a vector rather then i/j/k
- Added gimbal_axis to transform.h (was extern)

12 years agotwo things; made ctrl-p add an armature modifier instead of using PARSKEL, and also...
Joseph Eagar [Fri, 30 Oct 2009 09:50:35 +0000 (09:50 +0000)]
two things; made ctrl-p add an armature modifier instead of using PARSKEL, and also made wpaint auto-normalize work with PARSKEL armature setups

12 years agoPatch from Stani for autocomplete
Campbell Barton [Fri, 30 Oct 2009 09:34:57 +0000 (09:34 +0000)]
Patch from Stani for autocomplete
adds ability to complete in these situations
 bpy -> bpy. ->["Mesh"]

my autocomplete could only do bpy -> bpy.

12 years agoNew Track To Constraint: "Damped"
Joshua Leung [Fri, 30 Oct 2009 06:33:40 +0000 (06:33 +0000)]
New Track To Constraint: "Damped"

This is effectively a C-port of Nathan Vegdahl's "No Twist" TrackTo PyConstraint, and has been added as a separate type of constraint to be consistent with the existing constraints (Locked Track, and Track To).

In general, this works considerably better than the existing "Track To" constraint, since it works by determining the smallest rotation necessary to get the current orientation of the owner to an orientation which would be tracking the target. It is also a much more straightforward approach than the weird old method the old Track To uses.

I've made a few tweaks to the code to deal with the (hopefully rare) cases where the target and the constrained are coincident. These don't appear to cause too much trouble in general.

- Probably the naming of the constraints will change, to better convey their purposes. Naming suggestions welcome.