Commit Graph

23492 Commits

Author SHA1 Message Date
Brecht Van Lommel
052cb2afd2 Rest shape key for cloth option, this makes it possible
to specify different spring lengths.

Implementation is quite ugly because the shape key has to be pulled
through the modifier stack somehow, need a more flexible data mask
system to solve this properly.

(commits 27773,27775,27778 by Brecht from render25 branch)
2010-03-30 11:49:07 +00:00
Brecht Van Lommel
19fb497d13 Fix a few warning in editors/ module. 2010-03-30 11:38:06 +00:00
Elia Sarti
ccdd490957 Bugfix for [#21582] Adjusting material color (color picker) crashes
This fixes only the crash, which was due to buffer overrun for col Hex char buffer. It doesn't actually fix the real issue of overflowing the color values up to infinity.
2010-03-30 10:13:55 +00:00
Sergey Sharybin
bdea39c809 Fix #21827: Outer portions of extruded 2D curves do not render correctly
DispList->rt is used by render stuff to set vlak flags. This rt field is setting
to nurbs's flags in displist creation function. Possible flags for nurbs are
CU_SMOOTH and CU_2D. CU_SMOOTH is ok, but CU_2D conflicts with R_NOPUNOFLIP.

I cleared rt's CU_2D flag. Don't forget about possible conflicts if new
nurbs flags will be added.
2010-03-30 09:57:58 +00:00
Matt Ebb
c36e00cd52 Performance tweak - on region pan/scale, only redraw the region itself
instead of the entire area (eg. so panning tool shelf doesn't lag when 3d view 
redrawing is slow).
2010-03-30 07:57:07 +00:00
Dalai Felinto
77f55d9cb3 BGE API DOC: a guide on how to build epydoc for windows
We have already a .sh file to build epydocs from Linux, so why not to have it in Windows as well ;) I think that this guide can help people interested in help with the API documentation to test their work.

I'm actually already in touch with at least one volunteer helping with PhysicsConstraints module. VideoTexture may not be a one man job though, for I hope this document can also help.
2010-03-30 06:37:44 +00:00
Matt Ebb
b09ee4923d Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
in uv/image editor properties panel

Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's 
more accessible to RNA.
2010-03-30 05:52:05 +00:00
Dalai Felinto
5089663962 BGE PyDoc: fix for KX_Object not linked to the class in some actuators API page 2010-03-30 04:59:24 +00:00
Matt Ebb
1f8cd57073 Fix [#20115] Some theme settings are not saved
Theme colours were getting overwritten on startup with defaults (as in 2.4 
system). Changed this to allow changing the default theme, and added a 
'Reset to defaults' operator in user prefs. Perhaps next step to look into the 
py presets system for themes too (nice and easy to share).

If you're using a custom B.blend you may get some strange theme colours on 
startup if they weren't saved properly before. 'Reset to default' button in theme 
preferences should fix it back to defaults.
2010-03-30 04:27:13 +00:00
Matt Ebb
f20427ffbe Fix [#21814] 3D Curves and Caps Confusion
Stopped curves 'caps' properties from being greyed out when the curve is 3D - 
there's the totally obscure feature where turning off 'Front' and 'Back' turns the 
3D curve into a tube.

Would really like this feature to be implemented in a less bizarre way, but 
for now it should be enabled in the UI at least.
2010-03-30 00:57:54 +00:00
Sergey Sharybin
5497c2004c Mirror clipping for curves and surfaces. 2010-03-29 09:29:50 +00:00
Matt Ebb
9a99b7d193 Fix [#21083] Collada exporter defaults to ".blend" extension...
Also added a filter category for COLLADA files to the file selector.
2010-03-29 08:33:35 +00:00
Elia Sarti
97e1c0289d Added splash screen item in the Help menu. Not sure why it wasn't there in the first place? It's used to get the revision number and if the intention was to add a more adequate "About" window it can be replaced later. 2010-03-29 08:27:04 +00:00
Matt Ebb
227baee3d4 Tweak to set default ui range for color/color_gamma properties 2010-03-29 07:15:51 +00:00
Matt Ebb
f4dcd1d570 Fix [#21706] edit field in nodegroup which overlaps a node, edits the field of the overlapped node 2010-03-29 07:15:12 +00:00
Matt Ebb
86b30beb45 Fix [#21542] Clear origin shortkey Alt+O in object mode doesn't work 2010-03-29 07:07:20 +00:00
Matt Ebb
bd7ed4f077 Fix [#21708] Copy/Paste Texture channels for Lamps/World not working 2010-03-29 05:37:34 +00:00
Matt Ebb
a59d24fd94 Fix [#21679] add_grid "operator's subdivison" Change Dimensions 2010-03-29 05:00:04 +00:00
Matt Ebb
d3300ad590 * Update histogram on frame change and image swap 2010-03-28 23:30:00 +00:00
Dalai Felinto
33ee3fc6fe CMake fix for GCC 4.4.1 crash (on ubuntu 9.10 ) reported (on IRC) and fixed by Elia Sarti (vekoon)
(it was broken since rev. 27257.)
2010-03-28 21:38:22 +00:00
Martin Poirier
c09476bfee [#21807] Import Key Configuration problems
For some reason, __import__ doesn't recognize the cfg folder as part of the part.

Using exec("import " ... fixes that, but should be investigated further.
2010-03-28 21:10:48 +00:00
Benoit Bolsee
03c81862c4 BGE patch [#21019]: Python function for Scene suspend/resume. 2010-03-28 20:50:20 +00:00
Martin Poirier
c4f0a07267 Netrender: Fix for API changes (it would be nice if people at least fixed built-in script when breaking things)
Also force post process off. 

This is a partial fix for Bug [#21410], there is still the problem that loading back multilayer exr as render results doesn't load the composited result correctly (bug is assigned to Brecht). The results are still ok when downloaded outside of the render engine, so there's a work around for now.
2010-03-28 20:46:25 +00:00
Benoit Bolsee
41425c1aa4 VideoTexture: more PyDoc. 2010-03-28 20:15:45 +00:00
Benoit Bolsee
9792d39ab4 VideoTexture: clean previous commit. 2010-03-28 20:12:28 +00:00
Benoit Bolsee
982886d34e BGE: repair armature animation. Was broken since commit 27766. 2010-03-28 20:08:16 +00:00
Damien Plisson
dc4ac8a263 Fix [#21689] for coordinate issue (y flipped) when setting mouse cursor position
Mem leak when using BGE fixed too.
2010-03-28 19:42:08 +00:00
Campbell Barton
751a9975e4 [#21802] UVProject Modifier Crash
fix for bug in recent addition of panorama support
2010-03-28 18:41:49 +00:00
Benoit Bolsee
a99d584008 VideoTexture: fix video capture lagging when CPU is busy. This problem was caused by special frame handling that was appropriate for video streaming but not for video capture: drift compensation and no frame skipping. Disable that for video capture to take into account the realtime nature of video. 2010-03-28 17:50:45 +00:00
Guillermo S. Romero
8ba96eb1ae Change \n to more strict \r\n in HTTP headers (plus misc cleanups).
Reported by Ralph Giles via bug 21797.
2010-03-28 17:01:46 +00:00
Thomas Dinges
55f45810e6 Compile fix for scons:
Missing pthread include for recent image_draw.c commit. (27799)
2010-03-28 15:00:43 +00:00
Brecht Van Lommel
0eaa89971f External render engines now have option bl_postprocess to determine
if compositing, sequencer, fields, etc should be rendered, or if the
render does that itself. The weak point is that this only applies to
rendering, so if you open the compositor, it will still run on the
rendered result. Enabled by default, set to False to disable.
2010-03-28 14:45:09 +00:00
Martin Poirier
d010dae91b [#21767] Project Vert. on the Surf. of Other Obj. enabled causes crash when trying to Crease some edges
Don't want to project for Crease (and others).
2010-03-28 13:59:33 +00:00
Brecht Van Lommel
7aab31430f External render engines can now render previews as well, disabled by
default, set RenderEngine property bl_preview = True to enable it.
2010-03-28 13:48:11 +00:00
Brecht Van Lommel
46895ab1f2 Attempt to fix #21796: render crash on windows after slots commit. 2010-03-28 13:45:19 +00:00
Thomas Dinges
95d1d82313 Bugfix for [#21798] Submit description doesn't work. 2010-03-28 10:52:24 +00:00
Dalai Felinto
822dcc48cd bgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw (it draw only for the last overlayed scene)
1) glCopyTexImage2D - www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage2D.xml

2) dome post_draw. Now dome mode can also use scene.post_draw. It only runs for the last scene. It's really useful. I'm working on a nice showcase for this (a dome visualizer for the dome mode running with bgl. In the mean time this is a (lame) example of both working together (the buffer is being copied and draw on top of the window):
http://blenderecia.orgfree.com/blender/tmp/dome_bgl_copytex2d.jpg
2010-03-28 10:20:26 +00:00
Brecht Van Lommel
ddbb2bdaa5 Fix for a possible deadlock with render result drawing. 2010-03-27 22:48:18 +00:00
Campbell Barton
34cc878153 fix for writing out of buffer bounds when drawing to a buffer (most obvious with new grid type but could probably crash with stamp render option too) 2010-03-27 22:23:23 +00:00
Tom Musgrove
319a7afa08 fix bad level call so blendplayer builds 2010-03-27 18:08:57 +00:00
Brecht Van Lommel
57101c4fd2 Second attempt at committing the different render slot implementation. This
has a fix that hopefully solves the problem on mac/win. Also fixes #21322,
render slots not working well with FSA.
2010-03-27 15:35:34 +00:00
Brecht Van Lommel
17777e7cd1 Fix #21561: .ply exporter doesn't export normals. 2010-03-27 14:54:22 +00:00
Brecht Van Lommel
6188a28e75 The version in this file was not updated to alpha2, resulted in alpha1
still showing up in e.g. the Mac about dialog.
2010-03-27 14:38:46 +00:00
Brecht Van Lommel
119bd10d95 Fix #21543: running python script from command line would lose active
scene from context for background render. Ideally this should not be
using the context to get the scene but currently the active scene is
not stored anywhere, as it's a concept we tried to get rid of.. just
did a simple fix for now.
2010-03-27 12:42:01 +00:00
Brecht Van Lommel
865ceab545 Fix #20717: sculpt not working with ortho view + certain object scale. 2010-03-27 12:35:14 +00:00
Brecht Van Lommel
59d76439be Fix #21700: particles do not collide with linked objects. 2010-03-27 12:16:24 +00:00
Andrea Weikert
9cddf0c69a Fix [#21765] File-Dialog: "New Directory" gives no visual feedback
- was missing to clear the filelist which was previously done in the notifier (removed from there with the new thumbnail job handling).
2010-03-27 12:14:51 +00:00
Brecht Van Lommel
aa79b9f588 Fix #21792: changed subdivide operator properties order to reflect
the order in which smooth and fractal are applied.
2010-03-27 11:59:42 +00:00
Brecht Van Lommel
998ca03989 Fix #21741: changing scenes didn't update layers in 3d view, patch by Elia Sarti. 2010-03-27 11:54:38 +00:00
Brecht Van Lommel
3d5954604d Fix #20716: using wavefront .obj exporter multiple times could crash
because references to materials from previous exports were not cleared.
2010-03-27 11:20:27 +00:00