Commit Graph

66005 Commits

Author SHA1 Message Date
Campbell Barton
a0229b21cb text display (debug info) in the game engine working again & other minor changes. 2009-09-02 03:14:38 +00:00
Campbell Barton
32b2b1f544 Game options like enable physics visualisation, nomipmap, displaylists, ignore_deprecation_warnings etc work again.
space_set_commmandline_options from space.c as game_set_commmandline_options
2009-09-02 01:39:46 +00:00
Joshua Leung
bd7d26993f 2.5 - Rotation Order Tweaks for Armature Bones
* All tools where rotation order matters for armature bones have now been adjusted to use the new code

* Transform now uses the new code for bones too. However, there are some jumping issues here that I'm not too sure how to solve yet. Help fixing this is welcome.
2009-09-02 00:42:12 +00:00
Martin Poirier
f77fc5c3c9 support for multiple file: linked libraries 2009-09-02 00:07:55 +00:00
Nathan Letwory
d89e1eb437 * BGE optimisation tweaks. 2009-09-01 23:43:00 +00:00
Nathan Letwory
3f5115064a == SCons ==
* Add BGE_CXXFLAGS so we can get rid of hard-coded BGE compiler settings. This was only done for windows, but now linuxers and osxers should be able to set BGE-specific optimisation too. See the windows default configs for example.
2009-09-01 23:32:34 +00:00
Campbell Barton
f12f238062 svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22875:22935
Note, missing r22897, schlaile
source/blender/src/hddaudio.c
2009-09-01 18:49:33 +00:00
Ton Roosendaal
3bc5d87e50 2.5
Bugfix: new ALT+LMB pan in 2d windows hanged eternally; the modal keymaps
didnt support this yet. Is on todo; but fix is easy for now.

Also don't know if this is the right way to do it... systems with MMB can
also get it as macro (like action mouse, select mouse).
2009-09-01 17:31:33 +00:00
Ton Roosendaal
83e9144ff0 2.5
Background picture used bad scissor/viewport code, causing bad drawing
on tool region.
2009-09-01 17:10:56 +00:00
Campbell Barton
6d5f824518 - enum for convex hull and triangle mesh were swapped
- python pedantry
2009-09-01 16:37:23 +00:00
Joseph Eagar
bb28b5d1fe some merge, vpaint and wpaint bugfixes 2009-09-01 16:05:33 +00:00
Thomas Dinges
add244bca8 2.5 Buttons:
* Fix for Point Density Texture panel. "System" label was there before the pointer button showed up. (For Source Type Particle System.)
2009-09-01 14:59:50 +00:00
William Reynish
9965e8915d Added the old Edge settings to scene properties. This old feature is really quite terrible as it isn't even resolution independent - the edge width should be relative to the image dimensions.
Adjusted layout for sound in sequencer and a few other minor tweaks.
2009-09-01 12:41:06 +00:00
Joshua Leung
a44b948260 2.5 - Rotation Orders for Bones [Durian Rigging Request]
This commit is the start of an implementation of (euler) rotation orders for Bones (later to be extended to Objects too). 

Technical details and references can be found at:
http://wiki.blender.org/index.php/User:Aligorith/EulerRotationOrder

In short, I've added a new set of Euler conversion functions (EulO... and ...EulO), coexisting with the old functions for now, which can handle different rotation orders.

Changes have only been made to the basic evaluation code. However, the following places will still need modifications:
* Transform code - needs to be made to use functions which take rotation order into account instead of using XYZ only
* Rotation constraints - same story
* Other rotation editing tools for armatures also need a check up, since there might have been some missing code when I ported eulers earlier
2009-09-01 12:18:17 +00:00
Joshua Leung
d7a5cccb5b 2.5 - Code shuffling in arithb.c
* Moved all the euler-rotation functions so that they were near each other in the file.

* Tagged all functions relevant to axis-angle rotations
2009-09-01 06:48:40 +00:00
Martin Poirier
285d665d99 more use of data structures for communication. begining support for more than one file per fob (external dependencies, point cache, ...) 2009-09-01 01:09:05 +00:00
Campbell Barton
47beb68a0f Open recent list was arseabout, only adding files on save, rather then open.
This is problematic for a few reasons...
* I'd often save a blendfile only so it would appier in the open recent menu.
* Saving files (when you dont need to) makes access times less useful.
* binary diff's in SVN dont give any useful info. Sometimes I wasnt sure if I actually edited or saves for fast re-opening.
* Testing 2.4x files with animation data in 2.5 can loose info.
* Its not logical and other apps dont work this way.

Also made the recent file list in the file browser display the most recent item first (like the open recent menu).
2009-09-01 00:52:03 +00:00
Thomas Dinges
04bbb6a0c7 2.5: Layout Python Files:
* Code cleanup.
* Made some files match the code guidelines, should be all now.
Please everybody use them: http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines
* Made polls and header_draw functions as small as possible. 

* Small fixes here and there.
2009-09-01 00:33:39 +00:00
Joseph Eagar
c91e8e6ca1 finished bmeshafying merge, though probably needs further testing and debugging. also fixed nasty bug in DM_to_mesh. 2009-08-31 23:07:05 +00:00
Diego Borghetti
121f310fab Add missing define to rna for sound system. 2009-08-31 22:50:08 +00:00
Joseph Eagar
4c849249bc forgot to commit this looong time ago 2009-08-31 21:19:30 +00:00
Joerg Mueller
87929332c7 Changed sync difference time of sound strips to 0.5 seconds instead of 1 frame. Maybe this should be a user preference setting? 2009-08-31 18:18:10 +00:00
Ton Roosendaal
959757c2d7 Part 2 of the 2.49b commit.
We now should freeze and tag!
2009-08-31 18:17:06 +00:00
Ton Roosendaal
15f81f4b03 Part 1 of the 2.49b commit 2009-08-31 18:16:18 +00:00
Benoit Bolsee
7fccc53fc6 More MSVC project file update (don't propagate those changes to 2.5). 2009-08-31 17:00:03 +00:00
Campbell Barton
8b18843b98 remove "_amount" from rna names, its not helpful. 2009-08-31 16:36:02 +00:00
Joseph Eagar
9a5ffc8c38 brought weight paint back. 2009-08-31 15:57:13 +00:00
Benoit Bolsee
0b968bcbd9 BGE bug #19020: The GE Torque actuator x -& y-axis do not work in 2.49a (winxp) 2009-08-31 15:54:56 +00:00
Benoit Bolsee
0795d8237d BGE bug #18963: obj.sendMessage() with 4 arguments crashes Blender. 2009-08-31 15:28:43 +00:00
Benoit Bolsee
dfef0746e4 Update MSVC project files. 2009-08-31 14:25:39 +00:00
Daniel Genrich
bd5bab6b86 Win64: We need manifest if openmp is enabled 2009-08-31 13:56:21 +00:00
Campbell Barton
043641de72 corrections to epydocs 2009-08-31 13:03:38 +00:00
Joshua Leung
07abbaa9d7 2.5 - Datatype defines for MotionPaths and Visualisation Settings 2009-08-31 04:39:08 +00:00
Joshua Leung
7ad4386653 Grease Pencil: Cleanup Work + Bugfixes
* Disabled temporary debugging prints, since event handling now seems stable

* Modified the initgrabz() code so that when the cursor is behind the viewplane, the z-factor is calculated as if the cursor was on the other side of the view plane. This seems to work well, and doesn't seem to have any negative side-effects (yet).
2009-08-31 04:24:28 +00:00
Campbell Barton
6b3351c327 bugfix [#19254] KX_PolyProxy returns improper VertexIndex with triangles, using .getVertexIndex() and .v1, .v2, etc.
Surprising this wasn't noticed before. Any mix of quads/tris caused the face verts of either quads/tries (whichever comes last).

Tested by exporting the KX_MeshProxy and re-importing as an OBJ.

This fix assumes there are only 2 m_darray's per face array which is currently true, but wont be if edge support is added back.
2009-08-31 03:36:02 +00:00
Joshua Leung
3fa51df744 Grease Pencil: Restored some editing operators (convert and delete active frame)
* Convert operator - can currently be used to convert active Grease Pencil layer to curves. I had a look at making this part of a special "curve sketching" macro, though it seems that we cannot have modal operators coming first in a macro (and also cannot specify operator calling modes)

* Delete Active Frame operator - does what its name say it does. It deletes the active frame for the active layer of Grease Pencil sketches.
2009-08-31 01:58:11 +00:00
Joseph Eagar
63051a87a3 nasty bug with BMINDEX_***, reminds me of why those two macros are two-edged sword in the first place; they weren't supposed to be in the api at all, but various porting needs unfortunately demanded them 2009-08-31 01:39:03 +00:00
Martin Poirier
1a968f64dc Fix crash reported by DingTo with camera transform in camera view. 2009-08-30 21:57:10 +00:00
Joseph Eagar
2d9cee71a6 more subsurf stuff 2009-08-30 21:52:13 +00:00
Joseph Eagar
dc7ab9aa4e subsurf normals fix 2009-08-30 21:36:16 +00:00
Joseph Eagar
8823761534 vpaint works with the new face structures, yay, though it probably still has issues, needs more testing. also hopefully fixed subsurf crash everyone but me was getting, what I found should have caused crashes even for me, no idea why it did not. also got face flags to work with subsurf, and partially got materials, though theres still a problem there. 2009-08-30 21:30:07 +00:00
Thomas Dinges
a7689e9b60 2.5 Physic Buttons:
* Some Panels missed the "md" context declaration for the new cloth_panel_enabled(md) check. 
* Code Cleanup.
2009-08-30 21:00:26 +00:00
Martin Poirier
6422d335ca bugfix of the bugfix 2009-08-30 20:03:47 +00:00
Peter Schlaile
ca96a75af4 == Sequencer ==
Fixed hddaudio for sample formats other than 16 bit (8 bit e.g.)
2009-08-30 19:38:22 +00:00
Thomas Dinges
9abfb508de 2.5 Mist/Camera:
Changing Mist values didn't update the mist camera drawing in 3D View, when enabled. 
Bug reported by Julian|H. Thanks!
2009-08-30 19:26:18 +00:00
Campbell Barton
fa68f7ff76 made python 2.x and 3.x compatible. 2009-08-30 19:02:48 +00:00
Guillermo S. Romero
fee715f8a9 Make file directly executable. 2009-08-30 17:34:04 +00:00
Joerg Mueller
557cf2906b 2.5 Sound:
* Updated UserDef RNA so that only compiled in audio drivers are displayed. (Missing definitions in Makefiles, someone fix please!)
* Fixed libsndfile and ffmpeg building with CMake with msvc.
2009-08-30 16:18:05 +00:00
Joerg Mueller
257ad93e6d Removing old datatoc C source code; use the python version now! 2009-08-30 15:00:42 +00:00
Joshua Leung
7df39b5ea2 Grease Pencil: Basic Support for Image Editor Again
* Grease Pencil works again from Image Editor now. For now, the GPencil datablock is linked to the Image Editor space, but this can be changed if need be.

* Made Grease Pencil hotkeys into a separate Grease Pencil keymap, which can get included automagically like for frames/ui/v2d/etc. by supplying ED_KEYMAP_GPENCIL as part of st->keymapflag

* Temporarily restored the nasty hack to make View2D-aligned sketches in Image Editor to use OpenGL lines only. I still dunno why this doesn't work normally. 
(Probably related is that strokes are not visible when there's no image visible atm).
2009-08-30 13:32:08 +00:00