Commit Graph

20785 Commits

Author SHA1 Message Date
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
Campbell Barton
acf837e3c5 epydocs for bge pre/post render callbacks 2009-11-23 01:10:47 +00:00
Campbell Barton
8e09171d5b temp hack to make the popup show wider when running the edit description operator 2009-11-23 00:56:19 +00:00
Campbell Barton
caab05ec8c 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
2009-11-23 00:27:30 +00:00
Joshua Leung
6555eca6fe 2009-11-23 00:03:51 +00:00
Matt Ebb
215acdd803 * Changed default shortcut key for 'center view to cursor' to ctrl numpad . 2009-11-22 23:57:06 +00:00
Joshua Leung
c4a71795f5 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.
2009-11-22 23:11:32 +00:00
Benoit Bolsee
d83b251486 Repair display of iTaSC IK constraint. Fix crash in GE with high priority action overwriting low priority action. 2009-11-22 22:42:57 +00:00
Matt Ebb
042f52b162 * 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
2009-11-22 22:23:58 +00:00
Campbell Barton
b351d7804b needed to assign some values as bool's 2009-11-22 22:09:06 +00:00
Benoit Bolsee
ab6b1a363f 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. 2009-11-22 21:55:59 +00:00
Campbell Barton
dc5b0c8b9c 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.
2009-11-22 21:51:12 +00:00
Campbell Barton
9c602bd455 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 ==
2009-11-22 21:47:55 +00:00
Thomas Dinges
db164d8849 Sequencer:
* It's now possible to set the scene for a scene strip.
2009-11-22 21:16:04 +00:00
Peter Schlaile
2c461af8a3 == 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...)
2009-11-22 20:49:13 +00:00
Martin Poirier
4f21b1fcba Adding undo flag to the python run flag operator.
It's safer this way.
2009-11-22 20:26:54 +00:00
Andrea Weikert
c0a6d07212 filebrowser
* fix typo in operator property
* respect user setting for hide dot files
2009-11-22 20:24:36 +00:00
Peter Schlaile
42f99939f6 == 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.)
2009-11-22 20:22:35 +00:00
Thomas Dinges
85080f9e3f blender.html:
* Renaming header to alpha 0.
* Some updates for the Python Installation notes.
2009-11-22 18:57:16 +00:00
Peter Schlaile
aa77377052 == Sequencer ==
seqUniqueName() call was missing for effect strips.
2009-11-22 17:58:33 +00:00
Campbell Barton
bdb8004165 use is rather then == when comparing with singletons (None/False/True), its faster and suggested by pep8 2009-11-22 17:41:35 +00:00
Peter Schlaile
4ff3af612c == Sequencer ==
"reload" should be "refresh all" on the sequencer header.
2009-11-22 17:35:26 +00:00
Brecht Van Lommel
1295a213a4 2.5: Emulate numpad works again. 2009-11-22 16:33:47 +00:00
Brecht Van Lommel
43e7950092 CMake: OS X build did not have proper warnings set by default, copied the
flags from non-apple Unix configuration.
2009-11-22 16:33:00 +00:00
Thomas Dinges
8a50bcb163 * Update of the blender.html. Still lacks a bit, but better than before. Everyone, feel free to improve. 2009-11-22 15:19:18 +00:00
Campbell Barton
1d7e4e84d0 fix for py error when no text is displayed 2009-11-22 15:15:11 +00:00
Campbell Barton
20dc752e14 missing decref from patch #19258 2009-11-22 14:57:19 +00:00
Campbell Barton
c36f78dd41 [#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
2009-11-22 14:42:22 +00:00
Thomas Dinges
f4a0c9239f * Added fps and fps_base to some Render presets. They were missing there. 2009-11-22 14:10:58 +00:00
Matt Ebb
8be7b757e3 * 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.
2009-11-22 13:44:09 +00:00