Commit Graph

22591 Commits

Author SHA1 Message Date
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
Campbell Barton
e7741a9dc4 changes to 'view selected' operator.
- near clipping is not used to clamp minimum zoom level in ortho mode.
- view selected applied to a single point (no bound-box volume) just moves the view rather then zooming in.

for sintels face view selected didnt work well for eg: selecting a face at the mouth and zooming in.
2010-02-05 15:55:45 +00:00
Campbell Barton
a1d2b84222 patch [#20910] Support for exporting UV layouts to EPS files
also improved this so visible UVs are exported unless 'All UVs' is enabled, taking into account local-view and mesh face selection.
2010-02-05 15:20:12 +00:00
Campbell Barton
31955feba1 active face was incorrectly set on entering editmode. 2010-02-05 15:07:44 +00:00
Campbell Barton
2973ffbb49 add menus for vertex group and shape key panels, functionality wasnt communicated well with icons and getting cluttered.
also made 'transfer shape' script copy into the active object to match 'join as shape', which was quite confusing before.
2010-02-05 14:29:05 +00:00
Campbell Barton
61755860ea VBO's face index was incorrect, didnt see this break anything but was giving the triangulated index (always wrong for quads). 2010-02-05 13:40:43 +00:00
Campbell Barton
236b533015 [#20462] Weight painting subsurf mesh doesn't work with VBO
- backbuf colors were ignored with VBO's, disable since to make this work with VBO's it would need to re-bind a color array, then restore the previous one after.
2010-02-05 13:38:41 +00:00
Joshua Leung
65af2e2d48 Bugfix for "Show Only Selected" option and Bones (in Animation Editors):
If you have some bones selected, and then hide their layer, they would stay selected + visible even when you make another selection. Now, they are hidden and are no longer visible when they aren't on visible layers. 

Currently, this is only done if the channels are being filtered by visibility, but this could easily be changed to do without this check. Will see how this goes after some production testing. :)
2010-02-05 11:52:51 +00:00
Joshua Leung
c1bbda703f Armature Drawing - Active Bone:
Active bones are now only highlighted if they are also selected. This reduces confusion over when something will get moved/edited.
2010-02-05 11:39:58 +00:00
Campbell Barton
29e11e3ef4 bugfix for proxying linked objects & action constraints, reference to linked actions were being lost. 2010-02-05 11:32:27 +00:00
Campbell Barton
061f258d69 bugfix [#20936] Making lasso-selection of verts in weightpaint-mode "misses target"
xray objects can overwrite the view's obmat.
2010-02-05 10:17:43 +00:00
Joshua Leung
2a39fc2bb5 Fly Mode Bugfix: Animation recording works again 2010-02-05 08:14:33 +00:00
Joshua Leung
ba6d50c3d3 Bugfix #20975: Deleting a constraint causes segfault
Missing null checks in API functions.
2010-02-05 06:05:24 +00:00
Dalai Felinto
f7a24a25ba BGE: Sound Actuator API
act.time can set the sound position (float in seconds)
act.is3D RO gives you the dimension of the audio
act.minGain3D, maxGain3D ... set the 3D parameters of the sound

** PyDoc to be done. Jörg Müller (NeXyon) do you want to document them? The file is here:
//source/gameengine/PyDoc/GameTypes.py


+ adding a missing \n to KX_Scene.cpp. (kind of typo)
2010-02-05 00:51:32 +00:00
Dalai Felinto
f32df64d2b BGE fix: KX_Lamp using strcmp wrongly + typo in rna_define 2010-02-04 23:51:41 +00:00
Tom Musgrove
26a69496ba fixing blenderplay compiling 2010-02-04 23:03:08 +00:00
Campbell Barton
9c5a752c49 use the camera's lens angle as radians. 2010-02-04 21:48:10 +00:00
Campbell Barton
fe5b216030 access spot size in radians from python. 2010-02-04 19:24:20 +00:00
Campbell Barton
eedf5cbe89 reading in hair with dynamics wasnt working but mostly crashed when duplicating the object.
from reading all places dynamic hair is used I think these changes are correct (cloth seems to share pointcache with the psys) but its not obvious.

jahka: please check this is ok.
2010-02-04 16:54:25 +00:00
Campbell Barton
eaca7fa8b5 when autodepth is enabled use the z-depth for placing the cursor. 2010-02-04 16:30:28 +00:00