blender.git
9 years agoAssorted fixes - compile + drivers:
Joshua Leung [Wed, 25 Nov 2009 09:25:58 +0000 (09:25 +0000)]
Assorted fixes - compile + drivers:
* Fixed a few compile warnings for scons+mingw
* Driver variables are now added with the ID-type set to ID_OB (objects) by default since this is more convenient

9 years agoFix for [#20008] In the Graph Editor, clicking on the eye doesn't update the GUI
Matt Ebb [Wed, 25 Nov 2009 08:28:57 +0000 (08:28 +0000)]
Fix for [#20008] In the Graph Editor, clicking on the eye doesn't update the GUI

As part of this, fixed a typo in rna flags which was causing some strange behaviour with icons earlier. Reverted the workaround for this, too.

9 years agoAdd guardealloc for RAS_MeshObject.cpp (and clean whitespace).
Guillermo S. Romero [Tue, 24 Nov 2009 23:24:56 +0000 (23:24 +0000)]
Add guardealloc for RAS_MeshObject.cpp (and clean whitespace).

9 years agoBGE: replace mesh works for Soft Body (including reinstantiation of physics soft...
Benoit Bolsee [Tue, 24 Nov 2009 22:44:29 +0000 (22:44 +0000)]
BGE: replace mesh works for Soft Body (including reinstantiation of physics soft body mesh).

Even a static mesh can be used as replacement: the mesh
will be instantiated with the soft body settings of the
object. The position and orientation of the soft body
is preserved after the replacement.

Known limitation: the velocity of the soft body is reset
aftet the replacement. This is because soft body don't
have a well defined velocity.

9 years agodisallow dynamic sized rna arrays to be returned as mathutils types since it gives...
Campbell Barton [Tue, 24 Nov 2009 20:15:24 +0000 (20:15 +0000)]
disallow dynamic sized rna arrays to be returned as mathutils types since it gives unpradictable results if in one case it returns a vector and another a rna float array.

9 years agoFix for continuous grab on X11.
Martin Poirier [Tue, 24 Nov 2009 19:47:57 +0000 (19:47 +0000)]
Fix for continuous grab on X11.

Need to stop accumulating warp coordinates after the first cursor warp (store time of new generated event and skip warp for events time smaller).

There's some interesting X11 code in there, if people are curious.

9 years agoRNA api
Campbell Barton [Tue, 24 Nov 2009 17:12:32 +0000 (17:12 +0000)]
RNA api
- EditBone was missing 'selected'
- renamed 'selectable' to --> 'restrict_select', matching object mode.
- renamed 'active_pchan' --> 'active_pose_bone'

9 years agoavoid operator type lookups when its known
Campbell Barton [Tue, 24 Nov 2009 16:19:15 +0000 (16:19 +0000)]
avoid operator type lookups when its known

9 years agoForgot this file.
William Reynish [Tue, 24 Nov 2009 15:45:45 +0000 (15:45 +0000)]
Forgot this file.

9 years agoUpdated icons. Thanks to jendrzych.
William Reynish [Tue, 24 Nov 2009 15:40:56 +0000 (15:40 +0000)]
Updated icons. Thanks to jendrzych.
Adds icon entries to the force fields.

Also reverted last menu naming commit - this is apparently due to a bug in the Python API that will be fixed.

9 years agobugfix [#19983] clicking onto normal input of a material node crash
Campbell Barton [Tue, 24 Nov 2009 14:03:29 +0000 (14:03 +0000)]
bugfix [#19983] clicking onto normal input of a material node crash
actually happened when clicking on any input

9 years agoRender Buttons:
Thomas Dinges [Tue, 24 Nov 2009 12:55:04 +0000 (12:55 +0000)]
Render Buttons:
* Made Audio Section in "Encoding Panel" easier.

9 years agoFix for last commit, forgot to update collada.
Brecht Van Lommel [Tue, 24 Nov 2009 12:35:06 +0000 (12:35 +0000)]
Fix for last commit, forgot to update collada.

9 years agoFix wrong names in 3D view View menu
William Reynish [Tue, 24 Nov 2009 12:15:17 +0000 (12:15 +0000)]
Fix wrong names in 3D view View menu

9 years ago- use a generic bone class so all 3 bone types (Edit/Pose/Armature) - can have the...
Campbell Barton [Tue, 24 Nov 2009 11:58:49 +0000 (11:58 +0000)]
- use a generic bone class so all 3 bone types (Edit/Pose/Armature) - can have the same utility functions, length, parent_recursive, parent_index(), etc
- change the wiki url to avoid redirects (from Luka)
- removed pose prefix from pose_head/pose_tail/pose_matrix

9 years agoDepsgraph/Drivers
Brecht Van Lommel [Tue, 24 Nov 2009 11:48:16 +0000 (11:48 +0000)]
Depsgraph/Drivers

* Removed ED_anim_dag_flush_update and ED_anim_object_flush_update. These
  were wrapping DAG_* calls and were intended be used instead of them when
  doing a DAG update from editors. That goes against the design in my opinion,
  no matter who calls the DAG, that should update the editors correctly, so
  any special checks in such functions for editors should be avoided.

* Driver RNA properties now do updates again, including DAG scene sorting,
  text buttons no longer update as you type anymore, so this should be
  safe I think.

* Remove scene.update() RNA function, all properties/functions should do this
  automatically, if changing some property or calling a function/operator
  does not do the correct update, that should be fixed.

9 years agoRemoved split region operator. This was only for tests, and was not recoverable.
William Reynish [Tue, 24 Nov 2009 11:40:35 +0000 (11:40 +0000)]
Removed split region operator. This was only for tests, and was not recoverable.

9 years agoMade render quality settings proper percentages.
William Reynish [Tue, 24 Nov 2009 10:55:52 +0000 (10:55 +0000)]
Made render quality settings proper percentages.

9 years agocompile fix when compiling with WAIT_FOR_VSYNC = 1 (btw, is this still used ?)
Damien Plisson [Tue, 24 Nov 2009 10:19:07 +0000 (10:19 +0000)]
compile fix when compiling with WAIT_FOR_VSYNC = 1 (btw, is this still used ?)

9 years agoSpline IK Bugfix:
Joshua Leung [Tue, 24 Nov 2009 09:55:41 +0000 (09:55 +0000)]
Spline IK Bugfix:
"Y Stretch" option was broken in UI due to mismatch between RNA and scripts.

9 years agoquicktime : small ui update to include the two qt import options in the output panel
Damien Plisson [Tue, 24 Nov 2009 09:46:53 +0000 (09:46 +0000)]
quicktime : small ui update to include the two qt import options in the output panel
+ pep8 fixes

9 years ago- added rna api function scene.update(), needed for rig generation to update driver...
Campbell Barton [Tue, 24 Nov 2009 09:24:32 +0000 (09:24 +0000)]
- added rna api function scene.update(), needed for rig generation to update driver deps
- removed some warnings

9 years agoBugfix for Parenting to Bones:
Joshua Leung [Tue, 24 Nov 2009 05:57:47 +0000 (05:57 +0000)]
Bugfix for Parenting to Bones:

Reshuffled the code a bit so that the parent-type gets set before the parent inverse matrices are calculated.

Thanks to Claas Eicke Kuhnen (cekuhnen) on Blender Artists for catching this.

9 years agoExtend handler return values to distinguish between events that have been handled...
Martin Poirier [Tue, 24 Nov 2009 05:03:44 +0000 (05:03 +0000)]
Extend handler return values to distinguish between events that have been handled and passed through and those that haven't been handled at all.

This also solves a bug with Click event (not visible with keymaps that use Click in default)

9 years agoMade select operator return FINISHED only when it did something (only PASSTHROUGH...
Martin Poirier [Tue, 24 Nov 2009 04:59:52 +0000 (04:59 +0000)]
Made select operator return FINISHED only when it did something (only PASSTHROUGH otherwise)

9 years agoAdd CLICK to keymap RNA
Martin Poirier [Tue, 24 Nov 2009 04:30:24 +0000 (04:30 +0000)]
Add CLICK to keymap RNA

9 years agoKeyframing Operator Tweaks for Durian:
Joshua Leung [Tue, 24 Nov 2009 04:21:32 +0000 (04:21 +0000)]
Keyframing Operator Tweaks for Durian:

* Insert Keyframe (IKEY) now only shows the menu requesting to choose a KeyingSet to use if there is no active KeyingSet. To get the old behaviour, the "always_prompt" boolean property for the "ANIM_OT_insert_keyframe_menu" operator should be supplied.

* After inserting/deleting keyframes without the menu, a popup menu confirming that the keyframes have been modified is shown. Please note that you do not need to click on this popup.

TODO:
Make the confirmation popup fade out after a fixed time.

9 years agoremoved mmb pan/rotate user preference - this is handled by key maps now
Matt Ebb [Tue, 24 Nov 2009 02:07:57 +0000 (02:07 +0000)]
removed mmb pan/rotate user preference - this is handled by key maps now

9 years agocommenting out "Todo" labels from bge player stereo options
Dalai Felinto [Tue, 24 Nov 2009 01:09:19 +0000 (01:09 +0000)]
commenting out "Todo" labels from bge player stereo options
the To Do was more like self-remaining since no one else is currently working with stereo :)
I will get back to that once 2.5alpha0 is out. In the mean time let's have a cleaner interface.

9 years agoRNA update -- added RNA and functions for dealing with the clone UV layer for project...
Roland Hess [Tue, 24 Nov 2009 00:56:52 +0000 (00:56 +0000)]
RNA update -- added RNA and functions for dealing with the clone UV layer for projection painting. This is just the guts -- someone smart can hook up the UI.

9 years agorig-generation from metadata, the idea is to input a simple rig with metadata matchin...
Campbell Barton [Tue, 24 Nov 2009 00:02:21 +0000 (00:02 +0000)]
rig-generation from metadata, the idea is to input a simple rig with metadata matching preset definitions
these are applied by adding constraints, drivers, control bones etc. making it possible to re-apply changes & improvements to many rigs at once.

testcase makes a finger rig (like in BBB) from 3 bones, the base tagged with an id property "type":"finger".

still missing is a way to update the driver dep's

also fixed an error  in the property UI when the active bone is not on the active layer.

9 years ago- new pyrna api functions srna & prop path_to_id(), useful when setting driver target...
Campbell Barton [Mon, 23 Nov 2009 23:17:23 +0000 (23:17 +0000)]
- new pyrna api functions srna & prop path_to_id(), useful when setting driver target paths.
  This means you can have a pose bone for eg and get the path...
   pose.bones["Bone"]
 uses rna internal functions, so will work for sequence strips etc.

- StructRNA.get(), used for getting ID props without exceptions...
 val = C.object["someKey"]
 or..
 val = C.object.get("someKey", "defaultValue") # wont raise an error

- change rna property for testing if rna props are editable, test the flag rather then calling the function since the function depends on blenders state.

- fix a python exception with the ID-Property popup UI (when editing in more then 1 step)

9 years agoadded a function to duplicate bPoseChannel's internal data - constraints, id-props...
Campbell Barton [Mon, 23 Nov 2009 23:03:04 +0000 (23:03 +0000)]
added a function to duplicate bPoseChannel's internal data - constraints, id-props etc.
 duplicate_pose_channel_data(), the code to do this was inline in editarmature.c

duplicating editbones now duplicates posebone id-props

also removed an if test for &channew->constraints since it will always be true.

9 years agoImprove links.
Guillermo S. Romero [Mon, 23 Nov 2009 21:17:53 +0000 (21:17 +0000)]
Improve links.

9 years ago2.5 bugfix: splash would crash when .Blog contained file names without a
Brecht Van Lommel [Mon, 23 Nov 2009 20:06:09 +0000 (20:06 +0000)]
2.5 bugfix: splash would crash when .Blog contained file names without a
slash in them. Also removed the ctrl+alt+f1 shortcut key, was for testing.

9 years agoFixed weird wrong names in Add menu.
William Reynish [Mon, 23 Nov 2009 19:59:42 +0000 (19:59 +0000)]
Fixed weird wrong names in Add menu.

9 years agoFixed a link and added irc.freenode.net for clarity
William Reynish [Mon, 23 Nov 2009 19:26:59 +0000 (19:26 +0000)]
Fixed a link and added irc.freenode.net for clarity

9 years agofixed some error reporting issues with calling operators
Campbell Barton [Mon, 23 Nov 2009 18:08:42 +0000 (18:08 +0000)]
fixed some error reporting issues with calling operators

9 years agofix for crashes displaying long strings in menu's
Campbell Barton [Mon, 23 Nov 2009 17:55:52 +0000 (17:55 +0000)]
fix for crashes displaying long strings in menu's

9 years agoworkaround for an error with BKE_reportf (actually BLI_dynstr_vappendf)
Campbell Barton [Mon, 23 Nov 2009 17:36:44 +0000 (17:36 +0000)]
workaround for an error with BKE_reportf (actually BLI_dynstr_vappendf)
fixes a crash that happens when formatting a python exception into a report. - for now use pythons string formatting function.

happens when running the simple operator template so not sure if its worth re-tagging :S

9 years agoTwo files missing in case conversion in r24816.
Guillermo S. Romero [Mon, 23 Nov 2009 17:27:00 +0000 (17:27 +0000)]
Two files missing in case conversion in r24816.

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

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

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

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

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

9 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

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

9 years agoremove F7 for running test.py, 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 test.py, was useful when we had a py api but not text editor :)
this gets rid of F7 next to all the presets

9 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

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

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

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

9 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

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

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

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

9 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

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

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

9 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

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

9 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!

9 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

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

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

9 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()

9 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

9 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

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

9 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

9 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

9 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 http://www.pasteall.org/9345

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

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

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

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

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

9 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

9 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

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

9 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 context.foo)", that makign all return bool's isnt that nice.

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

 string in "STRING"
...is 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 ==

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

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

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

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

9 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
places.

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

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

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

seqUniqueName() call was missing for effect strips.

9 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

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

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

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

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

9 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

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

9 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

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

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

9 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