blender.git
9 years agoSculpt:
Brecht Van Lommel [Wed, 25 Nov 2009 17:51:16 +0000 (17:51 +0000)]
Sculpt:
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24483:24889

9 years agoSculpt: external file storage for multires
Brecht Van Lommel [Wed, 25 Nov 2009 14:27:50 +0000 (14:27 +0000)]
Sculpt: external file storage for multires

* This is experimental, the file format may change still!
* Helps reduce memory usage, keeps .blend files smaller, and makes
  saving quicker when not editing multires.
* This is implemented at the customdata level, currently only the
  multires displacements can be stored externally.

ToDo

* Better integration with object duplication/removal/..
* Memory is not yet freed when exiting sculpt mode.
* Loading only lower levels is not supported yet.

9 years agoSculpt: Fast Navigate option for multires. This will show the lowest multires
Brecht Van Lommel [Wed, 25 Nov 2009 14:13:43 +0000 (14:13 +0000)]
Sculpt: Fast Navigate option for multires. This will show the lowest multires
level when rotating/panning/zooming the viewport, and only draw the full thing
at the end, to make the viewport more interactive.

9 years agoSculpt: multires UI update.
Brecht Van Lommel [Wed, 25 Nov 2009 14:10:45 +0000 (14:10 +0000)]
Sculpt: multires UI update.

9 years agoSculpt: Multires
Brecht Van Lommel [Wed, 25 Nov 2009 14:07:12 +0000 (14:07 +0000)]
Sculpt: Multires

* Displacement coordinates are now stored differently, as a grid per
  face corner. This means there is duplication of coordinates, especially
  at low subdivision levels, but the simpler implementation justifies it
  I think.
* ToDo: conversion of existing multires files (2.4x or 2.5x), loading them
  may even crash now.
* Editmode preservation/interpolation code also has not been updated yet.

* Multires now works on the CCGDerivedMesh grids instead of CDDerivedMesh,
  which should be more memory efficient.
* There are still bad memory peaks (if you're using 32bit) when subdividing
  or propagating displacements. Though at least there should be no huge
  memory blocks allocated, which windows is now to have trouble with.
* Still found some weird spike artifacts at lower multires levels, some also
  happening before this commit. Perhaps computation of tangents needs to be
  tweaked more.

* Multires modifier now has viewport, sculpt and render levels. Also the
  levels have been made consistent with subsurf, previously the same level
  of subdivision was one less for multires.
* Both multires and subsurf modifier now can have their subdivision level
  set to 0 for no subdivision.

9 years agoSculpt: Grid based PBVH
Brecht Van Lommel [Wed, 25 Nov 2009 13:40:43 +0000 (13:40 +0000)]
Sculpt: Grid based PBVH

* PBVH can now be created contain both from face grids or standard
  meshes. The former is much quicker to build for high res meshes.
* Moved some drawing code into pbvh (mostly for the frustum test).
* Moved ray intersection code into pbvh.
* GPU buffers also can be built from either mesh or grids now.
* Updated sculpt code to work with this. The ugly part is that there
  is now a macro for iterating over vertices, to handle both cases,
  and some duplicated code for e.g. undo.
* Smooth brush does not work yet with grids.

9 years agofix for error in sequencer ui from recent changes
Campbell Barton [Wed, 25 Nov 2009 13:17:09 +0000 (13:17 +0000)]
fix for error in sequencer ui from recent changes

9 years agoSculpt: Subsurf
Brecht Van Lommel [Wed, 25 Nov 2009 13:11:44 +0000 (13:11 +0000)]
Sculpt: Subsurf

* Now uses the CCG DerivedMesh also in object mode, used to be edit mode only.
* Create CD_ORIGINDEX layer on demand, to save memory.
* Removed ss_to_cdderivedmesh function, and instead create ccgdm and then
  convert that to cddm, to avoid code duplication.
* Added and implement DerivedMesh interface functions to obtain face grids.
* Store edge/face flags more memory efficient.
* Export CCGDerivedMesh struct in BKE_subsurf.h

9 years agoSculpt: CCGSubsurf new functions to update normals, update subdivision
Brecht Van Lommel [Wed, 25 Nov 2009 12:27:21 +0000 (12:27 +0000)]
Sculpt: CCGSubsurf new functions to update normals, update subdivision
levels, copy coordinates from face grids, and stitch together face grids.

9 years agoSculpt: math lib functions
Brecht Van Lommel [Wed, 25 Nov 2009 12:04:11 +0000 (12:04 +0000)]
Sculpt: math lib functions

* swap v2/v3
* multiply-and-add (madd) v3
* inline v3 short/float conversion

9 years agoAnimSys - Transform Locks + RNA:
Joshua Leung [Wed, 25 Nov 2009 12:00:31 +0000 (12:00 +0000)]
AnimSys - Transform Locks + RNA:

The Animation System now respects the Transform Locks too (i.e. lock x-location, etc.) when writing settings. This means that it is no longer necessary to set up "constant drivers" to make sure some values don't get accidentally animated.

Internally, added a new callback for properties in RNA, which is responsible for checking if the item at some array-index is editable. This needs to be manually called for each place which uses rna to set settings for arrays (see the code changes in anim_sys.c for changes how to do this; the same thing needs to be done in the UI code too, and probably in py-api too)

9 years agoSculpt: tweak to memory statistics graph, showing both % and MB.
Brecht Van Lommel [Wed, 25 Nov 2009 11:59:57 +0000 (11:59 +0000)]
Sculpt: tweak to memory statistics graph, showing both % and MB.

9 years agoED_armature_edit_bone_remove wasnt clearing references from other bones, only affects...
Campbell Barton [Wed, 25 Nov 2009 11:47:53 +0000 (11:47 +0000)]
ED_armature_edit_bone_remove wasnt clearing references from other bones, only affects rna api access

9 years agoadd access to bone add/remove from rna. eg.
Campbell Barton [Wed, 25 Nov 2009 11:05:11 +0000 (11:05 +0000)]
add access to bone add/remove from rna. eg.
 bone = arm.edit_bones.new("SomeBone")
 arm.edit_bones.remove(bone)

regify (WIP)

9 years agoRNA: FModifier generator coefficients wrapped, implemented by Campbell.
Brecht Van Lommel [Wed, 25 Nov 2009 10:39:02 +0000 (10:39 +0000)]
RNA: FModifier generator coefficients wrapped, implemented by Campbell.

9 years agorna py api,
Campbell Barton [Wed, 25 Nov 2009 10:13:24 +0000 (10:13 +0000)]
rna py api,
generic rna function driver_add(), now returns the driver added (or a list of drivers if all channels are set)

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