11 years agoRemove forced sse compile flags on render for linux. This is very bad.
Martin Poirier [Mon, 23 Nov 2009 17:12:15 +0000 (17:12 +0000)]
Remove forced sse compile flags on render for linux. This is very bad.

Use user flags instead.

11 years ago2.5 bugfix: 3d view zoom operator delta had wrong range.
Brecht Van Lommel [Mon, 23 Nov 2009 17:07:30 +0000 (17:07 +0000)]
2.5 bugfix: 3d view zoom operator delta had wrong range.

11 years agobugfix: uninitialized values
Campbell Barton [Mon, 23 Nov 2009 16:58:24 +0000 (16:58 +0000)]
bugfix: uninitialized values

11 years ago2.5 bugfix: transformation constraint values did not have correct range.
Brecht Van Lommel [Mon, 23 Nov 2009 16:53:29 +0000 (16:53 +0000)]
2.5 bugfix: transformation constraint values did not have correct range.

11 years agoNew CLICK event value. If RELEASE is not handled and last event was PRESS of same...
Martin Poirier [Mon, 23 Nov 2009 16:24:28 +0000 (16:24 +0000)]
New CLICK event value. If RELEASE is not handled and last event was PRESS of same type, redo handlers with CLICK value (this means you can "click" key events too).

Leftmouse+Ctrl to extrude now mapped to Click instead of Release. Release was used to avoid conflict with lasso, but it isn't safe with modal operators that use Press to confirm (subsequent Release then extruded). Click is semantically closer to what we want here.

11 years agouse decorators for python attributes, added bone.length
Campbell Barton [Mon, 23 Nov 2009 16:04:19 +0000 (16:04 +0000)]
use decorators for python attributes, added bone.length

11 years agomade release log link point correctly to the release log.
William Reynish [Mon, 23 Nov 2009 15:41:57 +0000 (15:41 +0000)]
made release log link point correctly to the release log.

11 years agoremove F7 for running, was useful when we had a py api but not text editor :)
Campbell Barton [Mon, 23 Nov 2009 15:22:23 +0000 (15:22 +0000)]
remove F7 for running, was useful when we had a py api but not text editor :)
this gets rid of F7 next to all the presets

11 years agolinks to Python API docs from splash and help menu
Campbell Barton [Mon, 23 Nov 2009 15:20:56 +0000 (15:20 +0000)]
links to Python API docs from splash and help menu

11 years ago2.5: fix python error when showing 3d view properties panel
Brecht Van Lommel [Mon, 23 Nov 2009 15:19:30 +0000 (15:19 +0000)]
2.5: fix python error when showing 3d view properties panel
with no active bone.

11 years agoBeta -> Alpha ;)
William Reynish [Mon, 23 Nov 2009 15:17:37 +0000 (15:17 +0000)]
Beta -> Alpha ;)

11 years agomissing include for memset()
Campbell Barton [Mon, 23 Nov 2009 15:08:42 +0000 (15:08 +0000)]
missing include for memset()

11 years agouse lowercase filenames, they are prettyfied for the menu
Campbell Barton [Mon, 23 Nov 2009 15:04:43 +0000 (15:04 +0000)]
use lowercase filenames, they are prettyfied for the menu

11 years agoReplaced the blender.html file with a new readme.html
William Reynish [Mon, 23 Nov 2009 14:59:39 +0000 (14:59 +0000)]
Replaced the blender.html file with a new readme.html

The old file was very outdated, messy and included lots of excess information.
The new one is more specific to Blender 2.5 and is more concise, to the point.
Additionally this should mean we can avoid having a release_250.txt file in addition to this, to help clean up the install folder.

11 years agopose_bone attributes, children, children_recursive, parent_recursive & parent_index...
Campbell Barton [Mon, 23 Nov 2009 14:58:27 +0000 (14:58 +0000)]
pose_bone attributes, children, children_recursive, parent_recursive & parent_index() function.

11 years ago2.5 alpha0 splash image, by david revoy!
Ton Roosendaal [Mon, 23 Nov 2009 14:51:50 +0000 (14:51 +0000)]
2.5 alpha0 splash image, by david revoy!
Now will check if we can call for ahoy...

11 years agoFirst of 2.5 alpha0 release commit
Ton Roosendaal [Mon, 23 Nov 2009 14:51:05 +0000 (14:51 +0000)]
First of 2.5 alpha0 release commit

11 years agorename PoseChannelConstraints to PoseBoneConstraints
Campbell Barton [Mon, 23 Nov 2009 14:08:04 +0000 (14:08 +0000)]
rename PoseChannelConstraints to PoseBoneConstraints

11 years agoSplash screen, implemented by Matt.
Brecht Van Lommel [Mon, 23 Nov 2009 13:58:55 +0000 (13:58 +0000)]
Splash screen, implemented by Matt.

* Now has documentation links and recent files.
* Click on image or outside splash to make it go away.
* Still has old image, new one will be committed later.

11 years agoshaded mode isnt working in 2.5, comment for now
Campbell Barton [Mon, 23 Nov 2009 13:52:08 +0000 (13:52 +0000)]
shaded mode isnt working in 2.5, comment for now

11 years agocopying a pose didnt copy its ID props, both poses would reference the same pointer...
Campbell Barton [Mon, 23 Nov 2009 13:35:21 +0000 (13:35 +0000)]
copying a pose didnt copy its ID props, both poses would reference the same pointer (made proxy on objects with ID-prop pose channels fail)

11 years agoTypo, it's called Skim, not Skin. reported by Oxben. Thanks!
Thomas Dinges [Mon, 23 Nov 2009 13:19:30 +0000 (13:19 +0000)]
Typo, it's called Skim, not Skin. reported by Oxben. Thanks!

11 years ago- made properties in the view3d panel only show when there are some properties availa...
Campbell Barton [Mon, 23 Nov 2009 13:06:26 +0000 (13:06 +0000)]
- made properties in the view3d panel only show when there are some properties available since this the option to add props isnt in this panel
- remove print on startup

11 years agoAuto-Keyframing and Clear Transform Operators:
Joshua Leung [Mon, 23 Nov 2009 11:58:30 +0000 (11:58 +0000)]
Auto-Keyframing and Clear Transform Operators:

Clear Location/Rotation/Scale (Alt-G/R/S) now insert keyframes when Auto-Keyframing is enabled.

11 years ago2.5 internal bugfix: remove modal handlers before exiting the screen,
Brecht Van Lommel [Mon, 23 Nov 2009 11:49:23 +0000 (11:49 +0000)]
2.5 internal bugfix: remove modal handlers before exiting the screen,
since these may be using it.

11 years agomore ui api changes.
Campbell Barton [Mon, 23 Nov 2009 11:43:38 +0000 (11:43 +0000)]
more ui api changes.
- remove functions such as operator_int(), operator_enum(), operator_string
  this mixed with keyword arguments in a way that made them hard to read.
  Instead, have operator() always return properties rather then needing an argument.

- rename prop_pointer() --> prop_object(), pointer is more a C thing.

- missed item_enumR(), rename to prop_enum()

11 years agoVarious bugfixes:
Joshua Leung [Mon, 23 Nov 2009 09:47:56 +0000 (09:47 +0000)]
Various bugfixes:
* Tweaked the code for operator buttons so that only those operator buttons in the toolbar have their text left-aligned. This is done at layout-block level

* Silenced "file_init" print when opening the file browser

* Disabled animateability of the "active_shape_key_index" for Objects, since this property behaves in a very unpredictable manner, leading to problems with users trying to keyframe shapekey values and ending up keying the list.

* Remove some unnecessary RNA wrapping code

11 years agofix for py errors and missing return
Campbell Barton [Mon, 23 Nov 2009 09:28:42 +0000 (09:28 +0000)]
fix for py errors and missing return

11 years agoBugfix - Hook Operators:
Joshua Leung [Mon, 23 Nov 2009 02:27:52 +0000 (02:27 +0000)]
Bugfix - Hook Operators:

These now work for curves, nurbs, and lattices in addition to meshes again.

11 years agoepydocs for bge pre/post render callbacks
Campbell Barton [Mon, 23 Nov 2009 01:10:47 +0000 (01:10 +0000)]
epydocs for bge pre/post render callbacks

11 years agotemp hack to make the popup show wider when running the edit description operator
Campbell Barton [Mon, 23 Nov 2009 00:56:19 +0000 (00:56 +0000)]
temp hack to make the popup show wider when running the edit description operator

11 years agorna UI api rename...
Campbell Barton [Mon, 23 Nov 2009 00:27:30 +0000 (00:27 +0000)]
rna UI api rename...
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long.

itemR() --> prop()
items_enumR() --> props_enum()
item_menu_enumR() --> prop_menu_enum()
item_pointerR() --> prop_pointer()
itemO() --> operator()
item_enumO() --> operator_enum()
items_enumO() --> operator_enums()
item_menu_enumO() --> operator_menu_enum()
item_booleanO() --> operator_boolean()
item_intO() --> operator_int()
item_floatO() --> operator_float()
item_stringO() --> operator_string()
itemL() --> label()
itemM() --> menu()
itemS() --> separator()

batch script used

11 years ago(no commit message)
Joshua Leung [Mon, 23 Nov 2009 00:03:51 +0000 (00:03 +0000)]

11 years ago* Changed default shortcut key for 'center view to cursor' to ctrl numpad .
Matt Ebb [Sun, 22 Nov 2009 23:57:06 +0000 (23:57 +0000)]
* Changed default shortcut key for 'center view to cursor' to ctrl numpad .

11 years agoBugfixes:
Joshua Leung [Sun, 22 Nov 2009 23:11:32 +0000 (23:11 +0000)]

* Restored Center View to 3D Cursor. For now, I've mapped this to QKEY since all other nice combinations of CKEY have been taken now.

* Fixed bug introduced in commit last night where parenting lattice to armatures with deforms would no longer work.

11 years agoRepair display of iTaSC IK constraint. Fix crash in GE with high priority action...
Benoit Bolsee [Sun, 22 Nov 2009 22:42:57 +0000 (22:42 +0000)]
Repair display of iTaSC IK constraint. Fix crash in GE with high priority action overwriting low priority action.

11 years ago* Fix for [#19941] File Browser : inability to select multiple files
Matt Ebb [Sun, 22 Nov 2009 22:23:58 +0000 (22:23 +0000)]
* Fix for [#19941] File Browser : inability to select multiple files

Added border select on LMB tweak by default, and added shift-lmb to select multiple

11 years agoneeded to assign some values as bool's
Campbell Barton [Sun, 22 Nov 2009 22:09:06 +0000 (22:09 +0000)]
needed to assign some values as bool's

11 years agoFix MSVC project files for blenderplayer: the player compiles and runs properly in...
Benoit Bolsee [Sun, 22 Nov 2009 21:55:59 +0000 (21:55 +0000)]
Fix MSVC project files for blenderplayer: the player compiles and runs properly in debug and release mode. Still a problem with scons: the player compiles but crashes on startup.

11 years agorna functions were getting away with passing the string "True" instead of True, chang...
Campbell Barton [Sun, 22 Nov 2009 21:51:12 +0000 (21:51 +0000)]
rna functions were getting away with passing the string "True" instead of True, changed get the integer value and test its 1 or 0.

allow rna function return values as an exception since so many poll functions do... "return (context.blah and", that makign all return bool's isnt that nice.

11 years agonote:
Campbell Barton [Sun, 22 Nov 2009 21:47:55 +0000 (21:47 +0000)]
for a single tuple the last comma is needed. ('SOUND', ), otherwise its just a string.

 string in "STRING" the same as
 string in ("STRING")
...which checks the substring, its normally used like this
 if string in "maybe one of these words contains STRING"

in this case its better just to do ==

11 years agoSequencer:
Thomas Dinges [Sun, 22 Nov 2009 21:16:04 +0000 (21:16 +0000)]
* It's now possible to set the scene for a scene strip.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 20:49:13 +0000 (20:49 +0000)]
== Sequencer ==

Broad back SCENE-rendering. (Hopefully did everything right)

Still missing: UI part (one can't select a scene, neither on add nor
in N-keys dialog...)

11 years agoAdding undo flag to the python run flag operator.
Martin Poirier [Sun, 22 Nov 2009 20:26:54 +0000 (20:26 +0000)]
Adding undo flag to the python run flag operator.

It's safer this way.

11 years agofilebrowser
Andrea Weikert [Sun, 22 Nov 2009 20:24:36 +0000 (20:24 +0000)]
* fix typo in operator property
* respect user setting for hide dot files

11 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 20:22:35 +0000 (20:22 +0000)]
== Sequencer ==

This should make animations in sequencer work again at most

It removes facf0 and facf1 and replaces them by

* effect_fader (the fader position for transition effects
  limited 0-1 value range)
* speed_fader (full range fader for speed effect)

Also: default transitions should work again.

Still not working: non-IPO-locked curves. (Don't really know,
if we can / want to bring them back in new animation system.)

11 years agoblender.html:
Thomas Dinges [Sun, 22 Nov 2009 18:57:16 +0000 (18:57 +0000)]
* Renaming header to alpha 0.
* Some updates for the Python Installation notes.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 17:58:33 +0000 (17:58 +0000)]
== Sequencer ==

seqUniqueName() call was missing for effect strips.

11 years agouse is rather then == when comparing with singletons (None/False/True), its faster...
Campbell Barton [Sun, 22 Nov 2009 17:41:35 +0000 (17:41 +0000)]
use is rather then == when comparing with singletons (None/False/True), its faster and suggested by pep8

11 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 17:35:26 +0000 (17:35 +0000)]
== Sequencer ==

"reload" should be "refresh all" on the sequencer header.

11 years ago2.5: Emulate numpad works again.
Brecht Van Lommel [Sun, 22 Nov 2009 16:33:47 +0000 (16:33 +0000)]
2.5: Emulate numpad works again.

11 years agoCMake: OS X build did not have proper warnings set by default, copied the
Brecht Van Lommel [Sun, 22 Nov 2009 16:33:00 +0000 (16:33 +0000)]
CMake: OS X build did not have proper warnings set by default, copied the
flags from non-apple Unix configuration.

11 years ago* Update of the blender.html. Still lacks a bit, but better than before. Everyone...
Thomas Dinges [Sun, 22 Nov 2009 15:19:18 +0000 (15:19 +0000)]
* Update of the blender.html. Still lacks a bit, but better than before. Everyone, feel free to improve.

11 years agofix for py error when no text is displayed
Campbell Barton [Sun, 22 Nov 2009 15:15:11 +0000 (15:15 +0000)]
fix for py error when no text is displayed

11 years agomissing decref from patch #19258
Campbell Barton [Sun, 22 Nov 2009 14:57:19 +0000 (14:57 +0000)]
missing decref from patch #19258

11 years ago[#19258] [patch] Adding drawing capabilities to BGE Python
Campbell Barton [Sun, 22 Nov 2009 14:42:22 +0000 (14:42 +0000)]
[#19258] [patch] Adding drawing capabilities to BGE Python
patch from Mitchell Stokes (moguri)

simple use case
 scene.post_draw = [pyOpenGLFunc]

this only needs to be set once, then the funcion runs each redraw.

note, this patch also changes how python scripts run (not modules): Dont clear the namespace after running a script, since functions still use the namespace, BGE API is now better when dealing with stale data.

made some changes to this patch.
- assigning a list didnt decrement the existing list.
- initialize as NULL rather then a blank list
- dont use string comparisons for the callbacks, pass the python list to use instead.
- dont check the list items are callable. python will display an error if they are not.
- use python list macros that dont do any type checking sine blender does this when assigning the list

---- from tracker, edited since an updated patch changes some things.
Here is a patch to be able to draw to the screen with BGE Python. This will be very handy for GUI stuff. This patch
works by having the user register a callback in the scene. Two options are available KX_Scene.pre_draw
and KX_Scene.post_draw. The difference between these is when Python draws to the screen (before or after the BGE).
Each can take a list of functions. Here is an example that draws a blue semi-transparent

11 years ago* Added fps and fps_base to some Render presets. They were missing there.
Thomas Dinges [Sun, 22 Nov 2009 14:10:58 +0000 (14:10 +0000)]
* Added fps and fps_base to some Render presets. They were missing there.

11 years ago* New option on modifiers that don't change topology: Apply as Shape
Matt Ebb [Sun, 22 Nov 2009 13:44:09 +0000 (13:44 +0000)]
* New option on modifiers that don't change topology: Apply as Shape

Rather than applying the modifier to the object data, it will create a new shape
with the deformed vertices in there. Only mesh at the moment, other object
types on the todo.

11 years agoMSVC 9 projectfiles
Andrea Weikert [Sun, 22 Nov 2009 13:15:36 +0000 (13:15 +0000)]
MSVC 9 projectfiles
* Added GLEW_STATIC where necessary to make Blender compile again
* First attempt at compiling blenderplayer again - compiles, but doesn't link yet
* removed deprecated SND_ functions from blenderplayer

11 years ago- add cloth button wasnt working because it was set to execute the operator.
Campbell Barton [Sun, 22 Nov 2009 13:15:21 +0000 (13:15 +0000)]
- add cloth button wasnt working because it was set to execute the operator.
- for adding an operator, start with a blank name and dont write the default one. (still writes each name you type in, will need to fix this properly)
- move the AddPresetBase class into since all the presets are defined there.

11 years agoJust a few compiler warnings...
Joshua Leung [Sun, 22 Nov 2009 12:45:37 +0000 (12:45 +0000)]
Just a few compiler warnings...

11 years agoParenting and Deforms:
Joshua Leung [Sun, 22 Nov 2009 12:28:38 +0000 (12:28 +0000)]
Parenting and Deforms:

Parenting an object to some deformer (i.e. Armature, Curve, Lattice) now adds a new modifier if the object is deformable.

The advantages of this over setting PAR_SKEL mode are:
- instead of a hidden 'virtual' modifier, the user has direct feedback about what sort of modifier is being applied to deform
- most of the time in 2.4, whenever a virtual modifier was added, users would inevitably end up clicking "Make Real" on it

Of course, it's still possible to get 'virtual' modifiers by setting the parent type using the menu-property, but this just makes general setup easier.

11 years agoAdded a first version of the Sound F-Curve Modifier, not really usable yet, but you...
Joerg Mueller [Sun, 22 Nov 2009 12:10:45 +0000 (12:10 +0000)]
Added a first version of the Sound F-Curve Modifier, not really usable yet, but you can play around with it.

11 years agouse context member rather then modifier name in presets
Campbell Barton [Sun, 22 Nov 2009 11:33:44 +0000 (11:33 +0000)]
use context member rather then modifier name in presets

11 years ago- hide members of bpy from dir() and autocomp.
Campbell Barton [Sun, 22 Nov 2009 11:23:19 +0000 (11:23 +0000)]
- hide members of bpy from dir() and autocomp.
- path functions bpy.utils.script_paths(), bpy.utils_preset_paths(subdir)
- further simplified presets, use a generic draw function for preset menus and define the preset subdir and operator in the class

11 years agoSmall tweak to file-loading code for F-Curves so that F-Modifiers using library data...
Joshua Leung [Sun, 22 Nov 2009 11:15:38 +0000 (11:15 +0000)]
Small tweak to file-loading code for F-Curves so that F-Modifiers using library data get re-loaded correct

11 years ago* Minor cleanups.
Thomas Dinges [Sun, 22 Nov 2009 10:32:37 +0000 (10:32 +0000)]
* Minor cleanups.
* Added Cloth Presets. Patch by nudelZ. Thanks!

11 years ago* Minor Cleanup.
Thomas Dinges [Sun, 22 Nov 2009 10:06:08 +0000 (10:06 +0000)]
* Minor Cleanup.

11 years agoremove template uiTemplate_view3d_select_faceselmenu
Campbell Barton [Sun, 22 Nov 2009 10:02:32 +0000 (10:02 +0000)]
remove template uiTemplate_view3d_select_faceselmenu

11 years ago* Made particle painting use leftmouse, rather than actionmouse, consistent with...
Matt Ebb [Sun, 22 Nov 2009 06:27:17 +0000 (06:27 +0000)]
* Made particle painting use leftmouse, rather than actionmouse, consistent with other paint tools

11 years agoPatch #19953: [2.5] repeated include entries in a number of SConscript files
Joshua Leung [Sun, 22 Nov 2009 06:22:53 +0000 (06:22 +0000)]
Patch #19953: [2.5] repeated include entries in a number of SConscript files

Thanks for the patch Jeff Doyle (nfz)

11 years ago* Re-implemented/refactored 3D View hooks menu.
Matt Ebb [Sun, 22 Nov 2009 06:20:56 +0000 (06:20 +0000)]
* Re-implemented/refactored 3D View hooks menu.
Now shares the same operators as the modifier buttons, works context-sensitive, and uses Python menu too.

* Cleanups/tweaks in 3D View vertex group menu

11 years agoMissing Transform Menus + Buggy Object Operators:
Joshua Leung [Sun, 22 Nov 2009 06:19:30 +0000 (06:19 +0000)]
Missing Transform Menus + Buggy Object Operators:
* Added missing menus, 'Transform' and 'Mirror'
- mirror menu seems to be resulting in some memory leaks with RNA_enum_items_add len: 160 038832F8

* Apply Rotation operator for Objects now takes into account the different rotation modes

11 years agoPatch #19952: [2.5] repeated include entry in SConscript for blender/editors/armature
Joshua Leung [Sun, 22 Nov 2009 02:59:52 +0000 (02:59 +0000)]
Patch #19952: [2.5] repeated include entry in SConscript for blender/editors/armature

Second #/intern/guardedalloc include removed. Thanks Jeff Doyle (nfz) for the patch.

11 years agoSSS presets, Thomas and I added these at the same time, however I meant to make this...
Campbell Barton [Sun, 22 Nov 2009 00:22:29 +0000 (00:22 +0000)]
SSS presets, Thomas and I added these at the same time, however I meant to make this a more general system.
this commit shows how to add a preset using the base preset class and menu with minimal effort.

11 years agomoving this file back, sorry for the noise
Campbell Barton [Sun, 22 Nov 2009 00:18:43 +0000 (00:18 +0000)]
moving this file back, sorry for the noise

11 years agolooks like we both added sss at once :) , removing since Im using the base class...
Campbell Barton [Sun, 22 Nov 2009 00:17:36 +0000 (00:17 +0000)]
looks like we both added sss at once :) , removing since Im using the base class and a single presets file

11 years agoFixed minor sound UI errors.
Joerg Mueller [Sun, 22 Nov 2009 00:11:53 +0000 (00:11 +0000)]
Fixed minor sound UI errors.

11 years ago* Added Subsurface Scattering Presets.
Thomas Dinges [Sun, 22 Nov 2009 00:03:42 +0000 (00:03 +0000)]
* Added Subsurface Scattering Presets.

Note: Add doesn't work, it writes some text into the file, not the values. (Maybe because the values are arrays?!)
Campbell, please check :)

11 years agoBGE: Removing OB prefix from object names - This will break scripts !!!! (also removi...
Dalai Felinto [Sun, 22 Nov 2009 00:01:52 +0000 (00:01 +0000)]
BGE: Removing OB prefix from object names - This will break scripts !!!! (also removing AC and ME :: internal changes only)

How it works now:
whenever you have to read/write object names you can do it without the prefix "OB". (it's not hard at all to fix scripts)

How it was before:
It was a mess :)
We had an inconsistent API where sometimes you had to input "OBname" and other "name" directly to assign object as data (usually in actuators).

Justification for the change:
Talking with Campbell we had since a while ago this feeling that this should be changed any time we were going to deprecate the API. So in order to deliver Blender 2.5beta0 with a more close-to-the-final API we decided that today was a good day to implement that.

Remaining issues:
1) VideoTexture uses IM or MA to identify the output material/texture. I haven't touched that, but it does look a bit off. (i.e. I didn't changed any MA, IM naming)
2) I didn't see the code of dynamic mesh. It may need to be edited as well.

11 years ago- aspectx wasnt saved in the render preset
Campbell Barton [Sat, 21 Nov 2009 23:55:14 +0000 (23:55 +0000)]
- aspectx wasnt saved in the render preset
- define a preset base class
- cleanup some comments and whitespace

11 years agosmall fix
Jens Ole Wund [Sat, 21 Nov 2009 23:06:13 +0000 (23:06 +0000)]
small fix
void SB_estimate_transform
no need for static now

11 years ago* Some cleanup for recent preset commit.
Thomas Dinges [Sat, 21 Nov 2009 22:54:02 +0000 (22:54 +0000)]
* Some cleanup for recent preset commit.
* Minor align fix for Frame Rate Buttons.

11 years agonew property for soft bodies
Jens Ole Wund [Sat, 21 Nov 2009 22:45:25 +0000 (22:45 +0000)]
new property for  soft bodies

sb->lcom   : Center Of Mass .. might be used to create loc IPO
sb_>lrot   : is a matrix[3] esitmates the roatation in world coordinates .. might be used to create rot IPO
sb_>lscale : is a matrix[3] esitmates the scaling   in world coordinates .. might be used to create scale IPO
(no python for that yet .. but may be matt has mercy on me )

can be cropped direclty  in soft body module by function
static void SB_estimate_transform(Object *ob,float lloc[3],float lrot[3][3],float lscale[3][3])

The targets lloc,lrot,lscale should work to be NULL, just in case you don't need it.

However i'd prefer if they were accessed via properties
which should be calculated automagically if
sb->solverflags & SBSO_ESTIMATEIPO
is set, like they do in draw_sb_motion(..) in drawobject.c

added static void draw_sb_motion(Scene *scene, Object *ob) to drawobject.c
for debuggering (had a hard time with destructive matrix operations )
if it causes any trouble with your build on any OS make sure to comment that away.
softbody.c and DNA should compile fine in any case.

11 years agorender presets, select from a directory, button to add own presets
Campbell Barton [Sat, 21 Nov 2009 21:39:20 +0000 (21:39 +0000)]
render presets, select from a directory, button to add own presets

11 years agopatch [#19796] GLEW update by Mitchell Stokes (Moguri)
Dalai Felinto [Sat, 21 Nov 2009 20:36:03 +0000 (20:36 +0000)]
patch [#19796] GLEW update by Mitchell Stokes (Moguri)

GLEW update to version 1.5.1 [11-03-08]
this opens room for Geometry Shader support.

* - Brecht, Campbell told me you did some local changes in order to make it right in Linux. I get to you in order to know what those changes are (or feel free to commit them directly)

11 years agoMore macro goodness.
Martin Poirier [Sat, 21 Nov 2009 19:49:11 +0000 (19:49 +0000)]
More macro goodness.

Macros now return finished if at least one operator in the macro finished properly. This is done to correctly insert an undo point.

This means that all the macros that combine with transform (extrude, loopcut, rip, duplicate) will correctly insert an undo step when transform is cancelled.

11 years agoUncomment header.
Guillermo S. Romero [Sat, 21 Nov 2009 19:26:02 +0000 (19:26 +0000)]
Uncomment header.

11 years agomade the merge limit show more precission and use a lower step.
Campbell Barton [Sat, 21 Nov 2009 18:12:45 +0000 (18:12 +0000)]
made the merge limit show more precission and use a lower step.

11 years agorna bge fix: using dynamode instead of mode for Dynamic Material option: Align to...
Dalai Felinto [Sat, 21 Nov 2009 17:50:08 +0000 (17:50 +0000)]
rna bge fix: using dynamode instead of mode for Dynamic Material option: Align to Normal (it was using Material->Shadow Receive)

11 years agopatch from Ronan Bignaux
Campbell Barton [Sat, 21 Nov 2009 17:41:09 +0000 (17:41 +0000)]
patch from Ronan Bignaux
use python3 print()

11 years agofix for [#19943] Selected object border color incorect
Campbell Barton [Sat, 21 Nov 2009 17:21:46 +0000 (17:21 +0000)]
fix for [#19943] Selected object border color incorect

11 years agofix for [#19940] Remove vertex color layer and remove texture layer operators don...
Campbell Barton [Sat, 21 Nov 2009 17:16:00 +0000 (17:16 +0000)]
fix for [#19940] Remove vertex color layer and remove texture layer operators don't work
- only when in mesh editmode.

11 years ago[#19930] Nurb CV select is failing because of view clipping
Campbell Barton [Sat, 21 Nov 2009 16:44:05 +0000 (16:44 +0000)]
[#19930] Nurb CV select is failing because of view clipping
- the clipping test function was using the rv3d->viewmatob where it needed to use the object matrix.
- added a local clipping member to rv3d, the clipping planes in object-space, avoids many matrix multiplications when testing verts or clipping pixels when projection painting.

11 years agofix for [#19655] Curve is a disaster
Campbell Barton [Sat, 21 Nov 2009 14:35:28 +0000 (14:35 +0000)]
fix for [#19655] Curve is a disaster
when changing curve twist I assumed 2D curves would not need dir or quat values set, however these are used when getting a path from a curve.
also added interp_v3_v3v3v3v3

11 years agopatch from Dave Plater which fixes some problems building the BGE with cmake
Campbell Barton [Sat, 21 Nov 2009 13:47:16 +0000 (13:47 +0000)]
patch from Dave Plater which fixes some problems building the BGE with cmake

11 years ago- added back Shift+Tab to toggle snap
Campbell Barton [Sat, 21 Nov 2009 13:01:28 +0000 (13:01 +0000)]
- added back Shift+Tab to toggle snap
- added curve tilt and shrink/fatten buttons into the toolbar
- fix typo in last commit for view3d snap header button

11 years agoonly show normal snap option in object mode
Campbell Barton [Sat, 21 Nov 2009 12:44:09 +0000 (12:44 +0000)]
only show normal snap option in object mode

11 years agoid properties for editbones and pose channels were not being freed in a number of...
Campbell Barton [Sat, 21 Nov 2009 11:26:09 +0000 (11:26 +0000)]
id properties for editbones and pose channels were not being freed in a number of cases,
added free_pose_channel(pchan) and use this in all places that free pose bones

11 years agopep8 cleanup & default select axis to negative (artist requst, make sense if you...
Campbell Barton [Sat, 21 Nov 2009 00:05:43 +0000 (00:05 +0000)]
pep8 cleanup & default select axis to negative (artist requst, make sense if you model the RHS and spend most time looping at the models front)