Commit Graph

53000 Commits

Author SHA1 Message Date
Nathan Letwory
f6dcb28560 * remove constness. 2008-02-10 20:41:59 +00:00
a4e27a689a added PyNode includes for Makefiles 2008-02-10 20:16:35 +00:00
Nathan Letwory
8a91b29b0f * make some explicit casts to make some compilers happy 2008-02-10 20:00:25 +00:00
Nathan Letwory
9d7ef684e3 * remove redundant define. 2008-02-10 18:48:29 +00:00
67de0d3515 == Sequencer ==
Make F10 key work with the new sequencer panel.
2008-02-10 10:17:46 +00:00
9992b37ac1 Constraints Bugfixes/Tweaks:
* Optimised transform constraint a bit
* PyConstraints now show the script-selection menu correctly when a new constraint is added (i.e.  it now displays the correct initial value).
2008-02-10 10:01:57 +00:00
f46fcf7aab == PyNodes ==
1) Including the Add->Dynamic submenu in the Nodes window header. Previously pynodes could only be added via toolbox.
2) Disabling pynodes execution when using more than one thread for rendering. This prevents the crashes while a proper fix isn't implemented.
2008-02-10 03:40:24 +00:00
34ddfb03c1 == BPy: scripts in menus ==
Fixing compile warning (about a var that was always true being used as condition in an "if" block).
2008-02-10 02:12:06 +00:00
c691979370 == PyNodes ==
First fix in trunk: The "Update" button that appears in the Material buttons -> Nodes panel when a pynode is selected wasn't forcing an immediate update. Added a BIF_preview_changed call to fix it.

Let's pretend I actually knew that button also appeared there :) ... weeks working on pynodes and only right after Nathan commits to trunk I realize that this part of node panels is drawn in the buttons window, too.
2008-02-10 00:14:29 +00:00
Nathan Letwory
16514e3ddb * Merge of PyNodes to trunk. Finally!
See http://wiki.blender.org/index.php/BlenderDev/PyNodes and
  http://wiki.blender.org/index.php/BlenderDev/PyNodes/API
  For current documentation.

  Very very big thanks go to William Germano for fixing the memory issues left
  and for improving on the code.

  In the coming time documentation will be finalised and further stabilising
  of PyNodes is to be expected.
2008-02-09 23:17:15 +00:00
a37d9470a7 == Sequencer ==
Since mul changed into master gain slider, slightly raised limit, so that
color balance doesn't get too dark.

Fixed crash in float->float color balance.
2008-02-09 23:11:05 +00:00
727f9ff727 == Multires ==
Fixed bug #8215, Crash with shaded view + multires mesh
2008-02-09 20:50:25 +00:00
6e35a3c7f9 === Manipulator ===
Numinput working with the manipulator.

Someone suggested that on ba and it doesn't really hurt anyone/anything.
2008-02-09 19:00:12 +00:00
2f6ff79fd9 - Bugfix: scenes with SSS materials slowed down preview render
unnecessarily.
- Small approximate AO optimization for sky colors/textures.
2008-02-09 16:30:33 +00:00
611e6e79e2 Potential bugfix for an exr tile writing crash. SSS preprocessing now
doesn't write tiles to disk anymore (there is no reason to do so).
2008-02-08 22:09:47 +00:00
5bab02b5cb Ctrl-PageUp/Down in 3D-view now behaves the same as for the Timeline for consistency. The old behaviour for this (jumping between ob-ipo keyframes (Draw/Show Keys)) was not used that often, and has now been remapped to Shift-PageUp/Down 2008-02-08 20:15:07 +00:00
b22dc0b849 Cloth: Fixed another spring problem 2008-02-08 15:47:47 +00:00
0e98d2c441 Render optimization: approximate AO preprocessing is now partially
multithreaded.
2008-02-08 15:39:29 +00:00
a8d47b37e5 Just removed some unused vars cleaning up some little warnings.
Kent
2008-02-08 15:36:39 +00:00
eb50288cde Bugfix for Custom Bone Shapes - 'Wire' Option:
Bones drawn using this mode can now be selected, and are drawn correctly in envelope mode. This may draw a bit slower, as it is done in a separate mode.
2008-02-08 05:31:12 +00:00
1efba5bdb1 Cloth: Hopefully fixed bug reported from bjornmose (2nd try) 2008-02-08 00:55:48 +00:00
cd0262b635 Small render engine optimization: don't create objects in prev/next
frames if they are not part of a renderlayer that has a vector pass.
2008-02-07 16:29:08 +00:00
44bd390cc6 FSA: tweaked merging samples with filter to correctly map edges of the
images. Found method that doesn't require image to be rendered larger.

Note: assembling pre-rendered parts that are result of FSA renders might 
still give minor visible artefacts on edges; however, we should include 
such render methods in the render pipeline, so multiple computers can
each render parts, save all samples, and have 1 computer assembling and
compositing all. This is for another project... :)
2008-02-07 12:14:58 +00:00
f9593a4f89 * fix: "only shadow" lamps still lit materials with "shadow" turned off. Now, they have no effect. 2008-02-07 06:00:08 +00:00
bb7690c729 == Action Editor - Bugfixes ==
* With "AfterTrans Delete Duplicates" and NLA-scaling on, IPO-curve handles were not updated after the operation.

* Sliders drew in the wrong places. Now they are drawn using the Action-Editor api stuff, so they should appear in the right places. I've also tweaked this so that sliders are now shown for ANY selected action channel's ipo-channels and constraint-channels, provided that the channel is in view.
2008-02-06 23:27:03 +00:00
eb281bff39 Cloth: 1. fix problem with pinning (reported by ZanQdo), 2. fix cache protected + 'not saved' gui message bug (reported by Tobias Regenbrecht) 2008-02-06 22:59:56 +00:00
db6cef5602 == FFMPEG ==
Applied  	

[#8213] fix some library calls (freetype,ffmpeg)

to fix a segfault when linking against newer ffmpeg-libs.
2008-02-06 22:45:46 +00:00
8292f8d481 == Sequencer ==
Make glow-effect IPO driven (boost is multiplied by IPO-value).
2008-02-06 22:37:13 +00:00
264778b74b == Sequencer ==
Fixes [8222] Sequencer crash

Scene didn't work without a proxy anymore... :)
2008-02-06 22:36:34 +00:00
abb2d6b3eb This is patch: [#8244] Add MultiLayer image type in python API documentation
Submitted By: Stephane SOPPERA (soppera)

Just updates the docs for previous commit.

Kent
2008-02-06 22:35:48 +00:00
c9932c7da8 Mouse-click in the ipo/action/timeline/.. to change the frame
used to round down, and select the previous frame even when
the mouse was very close to the next one. Now it snaps to the
closest frame instead.
2008-02-06 17:43:32 +00:00
a003d87a24 Bugfix for closely zoomed in rotation transform, with the rotation
center far out of the view, gave integer overflow and wrong results,
now uses doubles to avoid the overflow.
2008-02-06 17:29:16 +00:00
03402b8419 - Removed the Save Buffers/FSA restriction that the width and height
must be divisible by the number of parts.
- OpenEXR code also has some changes to allow writing mipmapped images,
  but that is unused at the moment.
2008-02-06 13:45:07 +00:00
14ea52bdd8 Bugfixes:
* Action Editor "Open/Close Level" now works with Action Groups. Groups have priority over Action Channels for collapsing/expanding.

* Custom bone shapes using the new 'wire' option, were drawing with the wrong wireframe colour at times (i.e.  when out of posemode, this happened quite often). 

* Fixed/added a few comments in various places
2008-02-06 11:10:34 +00:00
f05778a980 == Action Editor - Drawing Optimisation ==
Keyframes are now drawn as GL_QUADS instead of using icons. The visual difference is slight, even though the new ones are slightly larger and have no fancy '3D-effects' (such as bevelling). However, they now seem to draw faster.
2008-02-06 05:27:23 +00:00
038c08804d It is now possible to compile a profiling build with mingw+scons.
Here are the changes I've had to make:
* Added default settings for BF_PROFILE and BF_PROFILE_FLAGS for mingw
* Made makesdna.c link with profiling flags too. This fixes some linking problems related to guardedmalloc for linking it. I'm not sure if this breaks compiling with BF_PROFILE on other platforms.
2008-02-06 01:25:56 +00:00
53d8645837 Bugfix for infinite loop in Sample Keys function in the action editor,
with two keyframes on the same location.
2008-02-05 22:46:26 +00:00
33f3f85235 Reverting some other changes zaghaghi made 2008-02-05 21:09:38 +00:00
4d58ff50cf Fix for bug in strand shading, could give errors on border of parts. 2008-02-05 19:49:42 +00:00
37d139ea54 This is patch: [#8228] Add MultiLayer image type to python and batch rendering
Submitted By: Stephane SOPPERA (soppera)

Also fixes a small typo with wrong filetype for TIFF commandline rendering.

Kent
2008-02-05 19:31:21 +00:00
217b3647b1 When iserting rotations in poses, the quaternion sometimes rotates exactly
the opposite way as you want. Or even worse, you can never really define
which way it rotates (officially it should do shortest path).

This hotkey flips the quaternion (which means it rotates to same position
exactly via the other way). Hotkey ALT+F (flip) in 3d window posemode.
2008-02-05 18:11:16 +00:00
e04d7128cd This is patch [#8232] Memory leak in KX_Scene destructor fixed
Submitted By: Benoit Bolsee (ben2610)

Fixes a loop so that it removes objects properly from the scene.

Kent
2008-02-05 17:37:52 +00:00
3a794a8583 Cloth: resolve problems wheen opening old files which have deflection enabled 2008-02-05 15:43:20 +00:00
a8c25e279d Cloth: Fix for crash with meshes with no faces, 2. Fix for crash on switching from to another mesh 2008-02-05 15:09:48 +00:00
7a70e5c0c0 Cloth: 1. Fix for deflection being enabled thourgh softbody interface, 2. Fix for wrong calculated friction, 3. Fix for some header which was accitently blown up by my editor 2008-02-05 14:11:48 +00:00
790d4927bd Bugfix:
Pasting poses now refreshes dependencies correctly after pasting
2008-02-05 03:10:46 +00:00
40527637c5 == Action Editor - Column Select tools ==
Added a new column-select type of tool: Select keys on current frame. 

As a result, I've changed the hotkeys for column select:
* KKEY - select keys on same frame as selected keys
* CTRL-KKEY - select keys on same frame as current frame
* SHIFT-KKEY - select keys on same frame as selected markers
* ALT-KKEY - select keys between selected markers
2008-02-05 02:47:00 +00:00
e3c88f66ee * small fix for a bug in the header render baking menu, baking texture only was doing the wrong thing. 2008-02-05 01:35:55 +00:00
1dea2f1f72 inverted the uv header mesh-sync-selection button, added face/vert selection popdown when sync selection is enabled. 2008-02-04 22:01:23 +00:00
fd7c729bd1 This is patch: [#8216] Make blender compile with gcc 4.3
minus one small include file that was commented out, I'm not
sure why it was commented out but I'm pretty sure its needed.
If there are still problems later we can sort it out, everything
else is pretty simple.

Kent
2008-02-04 21:52:03 +00:00