Commit Graph

22148 Commits

Author SHA1 Message Date
Mitchell Stokes
02d97e4da2 Campbell requested that I remove one of the bge.events.RETKEY aliases, so I'm removing bge.events.RETURNKEY. 2010-10-06 00:36:12 +00:00
Martin Poirier
eef0ffe9be Unhide confirm on release property (otherwise, it's not easily modifiable in the keymap editor). 2010-10-05 22:32:29 +00:00
Campbell Barton
8408997c84 remove some unused code and reduced the scope if some vars (no functional change). 2010-10-05 21:22:33 +00:00
Campbell Barton
568cb06616 rename Command key to OSKey, Window manager already called it the OSKey but internally it was mixed. 2010-10-05 19:10:15 +00:00
Mitchell Stokes
0c7dce887c Updating the bge.types docs to note which KX_GameObject attributes return mathutils objects. Also adding localLinearVelocity, worldLinearVelocity, localAngularVelocity, and worldAngularVelocity to the KX_GameObject docs. 2010-10-05 19:05:09 +00:00
Campbell Barton
458de52151 bugfix [#24148] unable to get keyboard mappings to work in the text window
this exposes another problem: RNA_property_is_set cant be used on properties set from a keymap, they are always set. for now check for string length.
2010-10-05 18:35:02 +00:00
Campbell Barton
1e0d2d4700 patch [#24125] Fix for Slider Widget (UI)
from Alexander Kuznetsov (alexk)
2010-10-05 15:44:58 +00:00
Campbell Barton
e1878f7142 patch [#24146] UV layout selection menu in UV editor ala CTRL+TAB in edit mode 2010-10-05 15:29:06 +00:00
Campbell Barton
1bf56930ac bugfix [#24122] Shift-C doesn't work in "Camera View"
also fixed some glitches with smoothview.
2010-10-05 13:15:58 +00:00
Sergey Sharybin
629ddacd48 Fix #24135: Material modification not immediately updated in Outliner
Also fixed outliner update when changing active_material_index from Py and
when selecting texture from UI
2010-10-05 11:55:54 +00:00
Campbell Barton
0eeeab515b bugfix [#23506] Bevel Modifier display problem
This is a more general problem that drawing functions would skip faces when the original index could not be found, screw result for example wasnt visible in editmode too.
Fixed by adding a material set argument to DerivedMesh->drawMappedFaces(), this was already being done in some of the other drawing functions.
2010-10-05 11:25:34 +00:00
Campbell Barton
a7258c9651 - fix for crash when drawing a subsurf after a modifier that lost original indices (bevel/screw/decimate)
- fix for own mistake used madd_v3_v3fl rather then mul_v3_v3fl, r32241.
2010-10-05 11:16:07 +00:00
Campbell Barton
459cf92bf4 build-fix [#24142] path changes break osx 2010-10-05 10:23:25 +00:00
Janne Karhu
6ca186fc5a Fix for [#24107] Hair/General particle glitch- Presets 2010-10-05 09:32:35 +00:00
Sergey Sharybin
a92c232c8b Fixed own typo in last commit to curve RNA 2010-10-05 07:22:44 +00:00
Nathan Letwory
4eae531f31 TextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as per my own patch on OpenCOLLADA issue tracker. 2010-10-05 06:10:17 +00:00
Mitchell Stokes
3cf2d2fd4e A bit of bge.events work:
* A few places in the bge.events docs mentioned bge.keys, when it should have been bge.events
  * Created two aliases to bge.events.RETKEY: ENTERKEY and RETURNKEY
  * ENTERKEY and RETURNKEY have been added to the docs and RETKEY marked as deprecated
  * Added an example of using bge.logic.keyboard to the bge.events docs
2010-10-05 05:44:15 +00:00
Guillermo S. Romero
9f3d203acb SVN maintenance. 2010-10-05 00:49:39 +00:00
Nathan Letwory
82209cdc86 Reorganisation of COLLADA import code. Classes have been split into their own files.
No functional changes.

Where necessary extern "C" {} blocks have been added.
2010-10-05 00:05:14 +00:00
Nathan Letwory
63b4c93e44 Update stubs for recent changes (BKE_utildefines.h and header printing). 2010-10-04 23:52:53 +00:00
Campbell Barton
f994c6caee bugfix [#24133] r32303, Mirror Modifier + EditMode + VBO's Problem.
drawing the triangle arrays were only broken up by hidden faces, but switches in material were ignored.
now check for materual context changes.
2010-10-04 19:01:25 +00:00
Campbell Barton
e88b8dac7b [#22825] Copy Scenes with Audio Strip Crash. 2010-10-04 15:31:04 +00:00
Campbell Barton
c76d339b6c fix for copy in the console (wasnt taking the prompt into account) 2010-10-04 12:02:18 +00:00
Sergey Sharybin
a6d62bf0db Recalc knots when toggling nurb cyclic flags 2010-10-04 10:06:18 +00:00
Janne Karhu
636e555ec2 Fix for [#24118] Hair particles can not be edited
* Own mistake from a previous fix.
2010-10-04 08:48:50 +00:00
Arystanbek Dyussenov
c0a7b5c2a8 COLLADA exporter fix: do not create a duplicate <polylist> if an object has NULL materials linked along with normal materials. 2010-10-04 03:38:37 +00:00
Campbell Barton
314121ee65 - use own string conversion function over PyUnicode_FromString when converting the argv
- report errors when files dont load when given from the command line but not running in background mode.
2010-10-04 01:18:47 +00:00
Campbell Barton
0540512866 fix for building over samba /w cmake+mingw 2010-10-04 00:40:48 +00:00
Campbell Barton
874ffaca7b typo in function prefix. 2010-10-03 23:29:43 +00:00
Campbell Barton
02d0084db9 changes to path searching
- don't search CWD/foldername anymore, only CWD/2.54/foldername, since this is the new default build systems use.
- local source paths (./release/scripts) are now treated as system path, otherwise when this is used you cant test ~/.blender/2.54/scripts at the same time.
2010-10-03 21:13:52 +00:00
Campbell Barton
ab8aa13b82 bugfix [#24087] Blender can not install add-ons unless running with root priviledges
now addon path is created using the same path functions and selecting where to save the startup.blend

also made some minor changes to path handling funcs.
2010-10-03 20:00:22 +00:00
Guillermo S. Romero
fbe1b518f0 Fix attribution, as noticed by Dalai Felinto. 2010-10-03 16:39:07 +00:00
Guillermo S. Romero
41a3f5863d Add include directive so buildinfo compilation can find defines, see r32271. 2010-10-03 16:30:10 +00:00
Campbell Barton
b0b5db57da build systems have been updated, remove use of ~/.blender/ directly, ~/.blender/*version*/ instead. 2010-10-03 16:16:00 +00:00
Campbell Barton
157d1205a4 added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed some warnings. 2010-10-03 14:16:27 +00:00
Campbell Barton
05884e09be - rna bugfix where ints were not clamped and would overflow, now raise an error and print valid range.
- fixed WM_OT_context_cycle_int was causing problems with int overflow, now it cycles properly.
- rename QUOTE macro to STRINGIFY_ARG, and added STRINGIFY, which is used more often since it gives the value as a string.
2010-10-03 01:44:00 +00:00
Mitchell Stokes
bcf6726b0b Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out. 2010-10-03 01:32:01 +00:00
Campbell Barton
27c444acb6 python console prompt + edit line is how selectable. 2010-10-02 22:31:48 +00:00
Campbell Barton
491aebbf67 py/rna access to setting the header text - can be used in modal operators.
eg: context.area.header_text_set("Some Text")
 included example in the view3d modal operator template.
2010-10-02 21:02:40 +00:00
Nathan Letwory
3f768cb472 Redraw object buttons on next/previous frame in 3dview, otherwise for instance
Transform panel won't get updated for keyed objects.
2010-10-02 20:31:54 +00:00
Campbell Barton
1d2b96fa81 set the view3d used layer to be an unsigned int, mask out localview layers to avoid flag mismatch when checking if it changed. 2010-10-02 19:45:53 +00:00
Campbell Barton
3aef138175 for view layer calculation, only break early if all layers are set, was breaking if any layer was set. 2010-10-02 19:38:09 +00:00
Brecht Van Lommel
77b75e23ba Fix #22348: disabled image editor curves on non-float images, this never
worked correct, only got enabled accidentally in 2.5 port.
2010-10-02 19:31:58 +00:00
Campbell Barton
a6e7823942 make fly mode border draw into a area drawing callback rather then using a flag (no functional change). 2010-10-02 19:31:23 +00:00
Campbell Barton
5faa29b01d move window matrix translation into its own function. (no functional changes) 2010-10-02 19:06:20 +00:00
Campbell Barton
283372ab3c Anti-Aliasing support for opengl render (belated durian todo),
Simple FSA accumulation method means no fancy opengl features needed.
Fixed at 5 samples per pixel for now.
2010-10-02 17:10:28 +00:00
Brecht Van Lommel
8cb17690f1 Fix #23785: in the game engine, if an object had an armature modifier + another
modifier, it would apply the armature deformation twice.
2010-10-02 16:42:12 +00:00
Thomas Dinges
9e72351c96 Small CMAKE Fix, discovered by freakabcd in IRC. 2010-10-02 16:29:58 +00:00
Joerg Mueller
0daa9ec5d9 Fix for [#24051] Scrubbing Timeline in VSE with Jack Audio doesn't scrub just plays the audio track
There were actually two bugs, the one reported and that the Sync Callback never has been called after someone had to add #ifdefs around the call without checking that the build systems are even configured to add the needed definition, am I right Cam? :P
2010-10-02 15:27:55 +00:00
Brecht Van Lommel
2bfc5d53bb Fix for last fix, should have checked it actually worked :) 2010-10-02 14:45:56 +00:00