Commit Graph

22610 Commits

Author SHA1 Message Date
Tom Musgrove
056a13ac6c get GE compiling 2010-02-07 17:15:20 +00:00
Ton Roosendaal
120d3e03d8 Fix for not being able to click on icons in Fileselect.
For some reason I thought I committed this like 10 days ago...
2010-02-07 17:10:51 +00:00
Benoit Bolsee
3e598e7468 BGE: Fix typo in SConscript preventing to import VideoTexture module. 2010-02-07 16:52:19 +00:00
Martin Poirier
60bf5465a4 Fun stuff: conflict detection in argument parsing library (could have been useful to detect a previous bug, prevents further bugs).
Prints a warning in the console at runtime when filling in the arguments if conflicts exist.
2010-02-07 15:36:20 +00:00
Brecht Van Lommel
f9917af00b Fix #20914: non-normalized AO baking was not working anymore. 2010-02-07 15:24:10 +00:00
Martin Poirier
3bd78cf8f6 Wrong argument name for scons 2010-02-07 14:59:00 +00:00
Daniel Genrich
dedbf8608e Smoke: Patch #20955 / fix by Damien Plisson (damien78)
* Smoke got it's own thread loop now and can be esc'ed now
* Apple OpenMP bug workaround until they fix the GCC (couldn't test this one)
* removing some "static" keyword to prevent crashing on frame display
* should also fix problems with wavelet.noise crashing (Bug #20710)

Fluid:
* sleep delay has been reduced to be more responsive
* Fluid progress is displayed in percent using the mouse cursor (like smoke)
2010-02-07 14:25:09 +00:00
Benoit Bolsee
81fd89c8e0 BGE: VideoTexture was not included, missing WITH_FFMEG defined. Fixed in all building system. 2010-02-07 14:12:39 +00:00
Campbell Barton
6d38010cc5 sunsky presets
* Mountain: low turbidity, well-defined sun, blue-ish (high sun energy)
* Desert: high turbidity (dust), big, diluted sun, red-ish
* Classic: average turbidity (water vapor), small, diluted sun.

also fixed a bug with saving string presets
2010-02-07 13:56:36 +00:00
Brecht Van Lommel
7f64e23068 Fix #21008: text editor scrollbar overlapping text, code here was not
fully updated when the scrollbar was moved from left the right.
2010-02-07 13:49:43 +00:00
Brecht Van Lommel
aea91b97fc Fix #20887: multires sculpt normals not updated correct in solid
textured draw mode.
2010-02-07 13:22:46 +00:00
Brecht Van Lommel
65dc616e10 Fix #20398: smooth brush + multires could still give problems at inner
face edges.
2010-02-07 13:07:12 +00:00
Campbell Barton
bb571c67cb mat/lamp/world.textures -> texture_slots
object.materials -> material_slots

since neither contain textures or materials directly.
2010-02-07 12:51:47 +00:00
Campbell Barton
3238730e36 group objects were used uninitialized. (copy paste error?) 2010-02-07 12:30:55 +00:00
Joshua Leung
3fb8939870 Patch/Bugfix #20997: Recent commit to object_randomize_transform.py by Cam added some garbage to a variable name making the script fail
Patch by Daniel Salazar (ZanQdo)
2010-02-07 11:53:00 +00:00
Joshua Leung
20fb4e3367 DopeSheet and Graph Editors: Select More/Less Operators
This commit introduces the Select More/Less Operators (Ctrl +/-) for keyframes. This works like the ones for curves, by only selecting/deselecting keyframes lying in the same F-Curve. Inter F-Curve selection is not done by this operator. That is the job for another one. 

This is especially useful for F-Curves set in the 0-1-0 pattern (i.e. 3 keyframes forming localised peaks), where the peaks can be selected by clicking on them individually, and immediately surrounding '0' values are selected too using "Select More".
2010-02-07 11:50:03 +00:00
Brecht Van Lommel
7d2c4384e2 Fix #20147: AO + onlyshadow wasn't being done right, also updated this
code to work with new ao/env separation.
2010-02-07 11:17:19 +00:00
Brecht Van Lommel
65d05fca0d Fix #20488: fields render was crashing. 2010-02-07 10:42:45 +00:00
Brecht Van Lommel
d61f5451c0 Fix #21006: ring select in face mode does loop select again, on second
thought, it makes sense since it's basically the same with flushed
selection to faces.
2010-02-07 10:30:28 +00:00
Brecht Van Lommel
c2122f01ad Fix #20928: difference boolean modifier is not applied during rendering,
fixed by last depsgraph commit and this extra check to avoid unnecessary
free of derivedmesh for sculpt/multires.
2010-02-07 10:16:42 +00:00
Thomas Dinges
6920a0cc1d Outliner:
Modifier Icons for Smoke and Solidify were missing.
2010-02-07 10:04:18 +00:00
Brecht Van Lommel
d8c7f743ab Depsgraph: fix for old problem where dependencies would not get executed
properly on file loading. Some things get preserved on file save/load,
like object matrices and armature poses, but other things need to be remade
like derivedmeshes and displists. The latter were not tagged for recalc on
load causing them to be made on countall or redraw typically, so not in the
right order and dependencies on hidden layer were not done at all.

Now these get tagged for recalc and flags flushed on load. There shouldn't
be much if any slowdown on opening existing files, if there is it should be
fixable.
2010-02-07 10:00:27 +00:00
Brecht Van Lommel
64d9026144 Fix for stamp marker name lookup, was returning wrong incorrect pointer. 2010-02-07 09:52:43 +00:00
Joshua Leung
447e4efaac Fixed display of IK DOF limits for bones. The old rotations were using M_PI/360 instead of M_PI/180 in many places, which I overlooked when porting this over to using radians only. 2010-02-07 04:38:45 +00:00
Joshua Leung
e939e74e88 Patch + Bugfix #20999: Node Header icons drawn wrong
Thanks to Thomas Raab (fando) for this patch.

This patch fixes the arrow showing whether nodes are expanded or not, and includes a fix for the other icons getting scaled twice.
2010-02-07 02:54:41 +00:00
Brecht Van Lommel
3b83ff755d Fix jumping panels when opening a new properties area or area containing
a region with panels (e.g. file browser).
2010-02-07 01:11:02 +00:00
Brecht Van Lommel
36f57beca2 Fix #21000: normal size button increment too small to see, also fixed
increment for lamp energy.
2010-02-07 01:09:12 +00:00
Brecht Van Lommel
636f5eae0f Fix #20220: edge ring select confusing
* no longer a modal operator now, that was useful when it was part of
  the loopcut macro but is no longer the case, and should have not
  affected regular edge ring selection.
* don't fall through to loop select in face mode, that is bad 2.4
  behavior, just use alt+rmb if you want to loop select.
* fix error number of cuts error print, missing select mode flush, and
  use more accurate notifier.
2010-02-07 01:01:32 +00:00
Brecht Van Lommel
2cc02cdd9b Fix #20922: image window draw z-buffer wasn't drawing the z-buffer
from the select render layer.
2010-02-07 00:28:49 +00:00
Brecht Van Lommel
7f2b2929ff Fix #20350: particles are offset from emittor in dupli-objects. 2010-02-06 20:59:09 +00:00
Joshua Leung
dfc93b1424 Fix compiling when GameEngine is disabled. 2010-02-06 20:59:08 +00:00
Brecht Van Lommel
de90619a46 Fix #20452: motion blur buttons were missing. Motion blur samples
are now also decoupled from antialiasing samples. Implemented by
Matt, I'm just committing the patch.
2010-02-06 20:25:17 +00:00
Brecht Van Lommel
3be3e84e48 Fix game engine crashing with subsurf modifier, only allow caching
of CCGSubsurf when computing ob/em->derivedFinal.
2010-02-06 18:21:33 +00:00
Brecht Van Lommel
2430005cef Game engine: show popup with error rather than printing in console when
trying to start game engine disabled in build.
2010-02-06 17:38:23 +00:00
Brecht Van Lommel
53a3b64601 Fix part of #20468: material changes when switch to sculpt mode. 2010-02-06 17:04:13 +00:00
Martin Poirier
d3afaa20be [#20994] seem that -F flags is not honored any more on linux ubuntu 9.10
Case Insensitive flag was reversed, making -F act like -f.
2010-02-06 16:39:44 +00:00
Martin Poirier
9063f549d5 Wrong text for missing format with -F 2010-02-06 16:38:53 +00:00
Brecht Van Lommel
d3d399d39d Fix #20953: vertex and weight paint mode still had 500k verts limit. 2010-02-06 15:50:53 +00:00
Brecht Van Lommel
4a6c843ec1 Fix #20951: move to layer popup hotkeys shift 1..9 were not working correct. 2010-02-06 15:29:18 +00:00
Campbell Barton
bd0b26f7bb bugfix [#20990] maker name don't show in render stamp 2010-02-06 14:56:25 +00:00
Campbell Barton
eafdf42c24 bugfix [#20989] DupliVert of DupliGroup crash 2010-02-06 14:32:50 +00:00
Campbell Barton
274e4bd9e0 commit from joe 26206, removed timer from zoom. this is needed for continuous zoom. 2010-02-06 12:44:37 +00:00
Joshua Leung
b28033d53f Constraints Loading:
Refactored the constraints reading code to take advantage of the new ID loopers. Now, adding a new constraint type will not require much effort with the file loading code, unless the constraint uses any special direct data which needs to be handled differently.
2010-02-06 11:50:39 +00:00
Joshua Leung
ae22d97c45 Constraints API: ID-Loopers
Added a system for running a callback on all the ID-blocks referenced by constraints (like for modifiers). Also, added an API function which calls these on the constraints present in the given list.

These could be used for:
- the proxies + action/pyconstraint fix that campbell committed
- simplification of file loading code
2010-02-06 11:28:22 +00:00
Andrea Weikert
df2ed25558 MSVC compile fix
* needed to add _USE_MATH_DEFINES to make M_PI known
2010-02-06 10:50:34 +00:00
Dalai Felinto
b2926cf8e2 BGE: rna update for Logic Bricks
New Actuators done:
* SCENE
* RANDOM
* MESSAGE
* GAME
* VISIBILITY
* TWODFILTER
* PARENT

Actuators to be done:
* OBJECT (aka MOTION)
* SOUND
* PROPERTY
* CONSTRAINT
* EDIT_OBJECT
* ACTION
* SHAPE_ACTION
* STATE
* ARMATURE

Actuators done already:
* IPO
* CAMERA

once again: feedback is appreciated.
2010-02-06 06:21:42 +00:00
Dalai Felinto
443d913f72 BGE: rna update for Logic Bricks
Sensor and Controllers: small fixes and suggestion (comments) for future improvement - mainly to replace text properties to material, text or object datablocks.

Actuators done:
* IPO
* CAMERA

Actuators to be done:
All the others (their structure is in the file)

Adding NC_LOGIC

** If someone want to help on that:
Files used for actuator RNA:
- logic_window.c
- DNA_actuator_types.h

*** my first big RNA operation. critics/suggestions are welcome

**** padded some DNA variables that were not been used.
2010-02-05 23:50:33 +00:00
Joshua Leung
29a6465ed4 Bugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 Builds
- IK-Solver interfaces were still converting units from degrees to radians. Made these all use radians now.

- Tried to fix the DOF limits drawing. This is still not totally functional again yet, but at least there are visible lines now.
2010-02-05 22:03:19 +00:00
Joshua Leung
5affc83eb2 Disabled ability to animate FPS setting, since this was producing weird and crazy effects for when viewing timecodes.
See http://www.pasteall.org/blend/1769 and switch to timecode displays in the timeline (Ctrl T) to see the effects of this (in an old build).
2010-02-05 21:23:07 +00:00
Arystanbek Dyussenov
ebf491b111 Merge -c 26630 from COLLADA branch into trunk. 2010-02-05 18:39:04 +00:00