Commit Graph

20814 Commits

Author SHA1 Message Date
Damien Plisson
82a1ec17ce quicktime : small ui update to include the two qt import options in the output panel
+ pep8 fixes
2009-11-24 09:46:53 +00:00
Campbell Barton
d55ac4da2b - added rna api function scene.update(), needed for rig generation to update driver deps
- removed some warnings
2009-11-24 09:24:32 +00:00
Joshua Leung
85301a57bf 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.
2009-11-24 05:57:47 +00:00
Martin Poirier
2597d49664 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)
2009-11-24 05:03:44 +00:00
Martin Poirier
4dd78dcbdf Made select operator return FINISHED only when it did something (only PASSTHROUGH otherwise) 2009-11-24 04:59:52 +00:00
Martin Poirier
1c4599522c Add CLICK to keymap RNA 2009-11-24 04:30:24 +00:00
Joshua Leung
04c68559bb 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.
2009-11-24 04:21:32 +00:00
Matt Ebb
6ece643979 removed mmb pan/rotate user preference - this is handled by key maps now 2009-11-24 02:07:57 +00:00
Dalai Felinto
acdc3f4a44 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.
2009-11-24 01:09:19 +00:00
Roland Hess
d594320c7f 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. 2009-11-24 00:56:52 +00:00
Campbell Barton
727d9bb059 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.
2009-11-24 00:02:21 +00:00
Campbell Barton
e968017951 - 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)
2009-11-23 23:17:23 +00:00
Campbell Barton
b7d717cead 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.
2009-11-23 23:03:04 +00:00
Guillermo S. Romero
9702ea7537 Improve links. 2009-11-23 21:17:53 +00:00
Brecht Van Lommel
af1f542367 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.
2009-11-23 20:06:09 +00:00
William Reynish
f421558ac7 Fixed weird wrong names in Add menu. 2009-11-23 19:59:42 +00:00
William Reynish
e54fe21a43 Fixed a link and added irc.freenode.net for clarity 2009-11-23 19:26:59 +00:00
Campbell Barton
052290d2b3 fixed some error reporting issues with calling operators 2009-11-23 18:08:42 +00:00
Campbell Barton
4c03ce9100 fix for crashes displaying long strings in menu's 2009-11-23 17:55:52 +00:00
Campbell Barton
1c806f6bb4 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
2009-11-23 17:36:44 +00:00
Guillermo S. Romero
e2a5862e8f Two files missing in case conversion in r24816. 2009-11-23 17:27:00 +00:00
Martin Poirier
2dac330ac0 Remove forced sse compile flags on render for linux. This is very bad.
Use user flags instead.
2009-11-23 17:12:15 +00:00
Brecht Van Lommel
53667cc693 2.5 bugfix: 3d view zoom operator delta had wrong range. 2009-11-23 17:07:30 +00:00
Campbell Barton
4cac7c88aa bugfix: uninitialized values 2009-11-23 16:58:24 +00:00
Brecht Van Lommel
fe14b6d544 2.5 bugfix: transformation constraint values did not have correct range. 2009-11-23 16:53:29 +00:00
Martin Poirier
d1f314a217 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.
2009-11-23 16:24:28 +00:00
Campbell Barton
66a013b06a use decorators for python attributes, added bone.length 2009-11-23 16:04:19 +00:00
William Reynish
bd1de4b4e3 made release log link point correctly to the release log. 2009-11-23 15:41:57 +00:00
Campbell Barton
190de2b664 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
2009-11-23 15:22:23 +00:00
Campbell Barton
f4d3ce197b links to Python API docs from splash and help menu 2009-11-23 15:20:56 +00:00
Brecht Van Lommel
c0e26df259 2.5: fix python error when showing 3d view properties panel
with no active bone.
2009-11-23 15:19:30 +00:00
William Reynish
d92c151cb9 Beta -> Alpha ;) 2009-11-23 15:17:37 +00:00
Campbell Barton
a2c0f3dac4 missing include for memset() 2009-11-23 15:08:42 +00:00
Campbell Barton
f92524ab7d use lowercase filenames, they are prettyfied for the menu 2009-11-23 15:04:43 +00:00
William Reynish
6eaf249bc5 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.
2009-11-23 14:59:39 +00:00
Campbell Barton
cb51710f25 pose_bone attributes, children, children_recursive, parent_recursive & parent_index() function. 2009-11-23 14:58:27 +00:00
Ton Roosendaal
6b56738089 2.5 alpha0 splash image, by david revoy!
Now will check if we can call for ahoy...
2009-11-23 14:51:50 +00:00
Ton Roosendaal
cb255ba324 First of 2.5 alpha0 release commit 2009-11-23 14:51:05 +00:00
Campbell Barton
d459c9c9ab rename PoseChannelConstraints to PoseBoneConstraints 2009-11-23 14:08:04 +00:00
Brecht Van Lommel
7b036e1dcb 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.
2009-11-23 13:58:55 +00:00
Campbell Barton
fc1c411e2c shaded mode isnt working in 2.5, comment for now 2009-11-23 13:52:08 +00:00
Campbell Barton
1baaa0134c 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) 2009-11-23 13:35:21 +00:00
Thomas Dinges
fbeca721a2 Typo, it's called Skim, not Skin. reported by Oxben. Thanks! 2009-11-23 13:19:30 +00:00
Campbell Barton
e9db9f2a91 - 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
2009-11-23 13:06:26 +00:00
Joshua Leung
78b76cc39f Auto-Keyframing and Clear Transform Operators:
Clear Location/Rotation/Scale (Alt-G/R/S) now insert keyframes when Auto-Keyframing is enabled.
2009-11-23 11:58:30 +00:00
Brecht Van Lommel
f8d40d2da0 2.5 internal bugfix: remove modal handlers before exiting the screen,
since these may be using it.
2009-11-23 11:49:23 +00:00
Campbell Barton
e0fc6d0c33 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()
2009-11-23 11:43:38 +00:00
Joshua Leung
c6dbbde16b 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
2009-11-23 09:47:56 +00:00
Campbell Barton
7617736bd1 fix for py errors and missing return 2009-11-23 09:28:42 +00:00
Joshua Leung
8224dff9e2 Bugfix - Hook Operators:
These now work for curves, nurbs, and lattices in addition to meshes again.
2009-11-23 02:27:52 +00:00