Commit Graph

13872 Commits

Author SHA1 Message Date
Daniel Genrich
c40fe7b255 svn merge -r 16411:16453 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-09-10 10:53:38 +00:00
Brecht Van Lommel
75078d62df Fix for bug #17589: removing a lamp in the game engine with glsl
materials did not work correct.
2008-09-10 09:51:06 +00:00
Campbell Barton
ecc5bdb8d7 2 gamelogic templates, one with example functions and comments, another minimal template for those who know the api. 2008-09-10 03:34:08 +00:00
Campbell Barton
eaf84d2c25 BPY merge from apricot branch.
work around non unix line endings using pythons execfile() function rather then loading the binary data and manually stripping the line endings.
2008-09-10 01:17:03 +00:00
Benoit Bolsee
74ab278d46 BGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling bug on setParent(). Add python setWorldPosition() to allow setting object position in world coordinate regardless if it is a root or a child object. 2008-09-09 22:40:10 +00:00
Daniel Genrich
aa10e1b11e Bugfix for [#17363] Edge selection mode + knife twice = latter cut doesn't do anything 2008-09-09 21:46:19 +00:00
Benoit Bolsee
f305bb22b7 Patch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer, using -i as input parameter to pass embedder window id. create a minimal web plugin to embed blenderplayer on web pages (using gecko/mozilla as browser). Only for *nix. 2008-09-09 21:15:30 +00:00
Ken Hughes
fede495c07 Python API
----------
Bugfix #14425.  Particle.Get() could return a list of invalid items.  The API
still needs more work, but for now throw an NotImplemented exception.
2008-09-09 20:52:18 +00:00
Brecht Van Lommel
f198acd5dd Fix for bug #14775: memorblock end corrupt print, needed to allocate
one byte more for the align menu string 0 terminator.
2008-09-09 20:19:00 +00:00
Brecht Van Lommel
df1d59805f Fix for bug #17588: crash with ctrl+a and no active object. 2008-09-09 20:09:54 +00:00
Brecht Van Lommel
84d7e2ea9c Fix for bug #17443: make bone heat weighting solve a bit less
sensitive to poorly shaped geometry, should succeed solving
in more cases now.
2008-09-09 20:00:57 +00:00
Daniel Genrich
568ba15726 Bugfix for [#17329] Bevel Weights are lost after Subsurf 2008-09-09 18:44:10 +00:00
Brecht Van Lommel
be19db6854 Fix for bug #12132: vector blur with fast moving objects does
not give a smooth fallof. there's no correct fix possible due
to a lack of information, but this manually adds a smoother
falloff, overestimating the contribution of foregroud pixels
instead of becoming transparent.
2008-09-09 17:27:01 +00:00
Daniel Genrich
d9404adcd1 Bugfix #17562: array fit to curve isnt working 2008-09-09 16:38:08 +00:00
Brecht Van Lommel
e9b08b64fa Fix for bug #17402: IK influence blending with pole targets
didn't give smooth transition. Now it blends the result of
IK solving in that case.
2008-09-09 15:15:01 +00:00
Brecht Van Lommel
160c0de87b Fix for bug #17580: crash rendering instanced objects with
halo material attach to the object instead of the mesh.

Also for bug #13489: avoid a crash rendering with invalid
active vcol layer, most likely caused by a bug that was
already fixed.
2008-09-09 14:16:54 +00:00
Ton Roosendaal
68d7f0a3d1 Bugfix #13592
Sequencer, Time, Sound windows were drawing frame numbers double when
too far zoomed in.
2008-09-09 13:35:38 +00:00
Ton Roosendaal
7366834443 Bugfix #13596
Wrong popup on single-user particles, it said "make local".
2008-09-09 12:51:22 +00:00
Ton Roosendaal
4db3d6c595 Bugfix #13653
Autosave disable didn't work.

Note however that a disabled autosave only gets active on saving the 
user settings, and loading blender again. This is a timer that gets 
set on startup. I didn't code a kill timer. :)
2008-09-09 12:00:38 +00:00
Ton Roosendaal
ad31f6a4b3 Bugfix #13675
Edge render made star render disappear. Wrong Z value comparing...
(2 year old bug!)
2008-09-09 11:40:29 +00:00
Campbell Barton
0995466927 wasnt using icon buttons correctly 2008-09-09 10:58:58 +00:00
Ton Roosendaal
70be839859 Bugfix #13837
Tonemap didn't correctly accept any buffer type.
The coder who added this should check this fix! Any node coder maybe...
2008-09-09 10:16:09 +00:00
Ken Hughes
3f87319428 Python API
----------
Add access to MTex objects from Lamps and Worlds (first pass).  Since the
MTex structure is slightly difference between materials, lamps, and worlds,
a field is added to the BPy MTex object to distinquish which type it wraps.

Attempting to access attributes which are unique to materials for lamp or
world MTex objects throw an exception.  The next pass will implement MTex
attributes which are specific to Lamps and Worlds.

A new attribute (textures) is added to each module.  It is compatible with
the previous Material.getTextures(), which returns a tuple of either MTex
objects or None.  Surprised we never added an attribute for this before in
all the changes and refactoring.
2008-09-08 23:39:32 +00:00
Ton Roosendaal
de48280368 Bugfix #17566
Modifier buttons: now check properly for external lib data, modifiers are
on object only. Only "Apply" is locked now.
2008-09-08 15:15:00 +00:00
Ton Roosendaal
f7a6d032fc Bugfix #17375
Crash on converting object to other type, and replace object.
Deleting should trigger a new depsgraph.

Oldie bug!
2008-09-08 13:04:10 +00:00
Joshua Leung
2768ee67bd Grease Pencil - Defaults Cleanups:
* Made new layers default to having thickness of 3, and opacity of 0.9. These values seem to be used more often.
* Newly added Grease Pencil blocks will now be expanded by default in the Action Editor
* Added support for Image Editor grease-pencil blocks to the Action Editor
* Added version-patching for missing colours used by the info-string for GPencil.
2008-09-08 12:36:49 +00:00
Joshua Leung
e3172d8f4d Bugfix:
Grease Pencil panel now updates correctly in Sequencer
2008-09-08 12:06:40 +00:00
Ton Roosendaal
da474210de Bug #17317
Vertexpaint mode: option "paint mask" (Fkey) missed redraw for buttons
2008-09-08 11:13:34 +00:00
Ton Roosendaal
6a83746fb3 Bugfix #17305
3d window didn't refresh correctly when loading a new background image.
Fix by Ken Hughes. :)
2008-09-08 10:31:00 +00:00
Joshua Leung
ce7caf203d View 3D - Improvements for Info Drawing:
The little info string beside the mini-axis (in bottom left corner) is now more useful when animating fullscreen. ZanQdo feature request.

* Info string is drawn in yellow when there is a keyframe on this frame. 
Hopefully this doesn't introduce any major slowdowns, as it does do a search for keyframes for every redraw.
* Name of first marker that occurs on the current frame is now also shown (in angled brackets). No angle brackets are shown if no marker.
* Info string is also shown when there is no active object.
2008-09-08 06:49:19 +00:00
Daniel Genrich
a9d334df67 Bugfix for #17572 Boids Particles Crash 2008-09-07 20:46:54 +00:00
Daniel Genrich
26d8da99cc Bug [#17454] Wave modifier crash, fix provided by Banlu Kemiyatorn 2008-09-07 20:18:26 +00:00
Benoit Bolsee
f3fc5a8b61 BGE bug #17574 fixed: GE Text input doesn't register in 2.47. Force registration of keyboard sensor with no link as this is typically the setting for key logging. 2008-09-07 19:58:37 +00:00
Daniel Genrich
44f9276b67 svn merge -r 16396:16411 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-09-07 19:47:15 +00:00
Ton Roosendaal
1d41c27625 Bugfix #17446
Two menu errors in Node Editor.
2008-09-07 18:18:50 +00:00
Ton Roosendaal
8569a78cbb bugfix 17527
Halo render: lines and rings were not using random anymore... got lost
in particle upgrade of pre-peach. Tsk!
2008-09-07 17:13:05 +00:00
Campbell Barton
d0b3ce3c48 Draw icons in the layer button to show used layers as well as layer of active object, this is a feature from apricot but used button color instead which was confusing. 2008-09-07 16:37:55 +00:00
Campbell Barton
91c8eea325 [#17579] Added support to VSE Python API for adding movie and audio HD sequences
from Rob Scott (spamagnet)
2008-09-07 14:02:58 +00:00
Ton Roosendaal
a14d7c9b7d Bugfix #17497
FSA didn't support "key alpha", fixed it.
Also noticed edge-enhance didnt work for FSA, added warning for that,
fixing it is too clumsy, this option belongs in compositor.
2008-09-07 13:15:44 +00:00
Joshua Leung
e0fad0e6a1 Grease Pencil - Stick to View for Sequencer:
The 'Stick to View' feature now works in the sequencer (image previews)
2008-09-07 11:36:52 +00:00
Benoit Bolsee
0bf03ef2f1 BGE patch: Simulate dupligroup operation when parent and child are not active/inactive at the same time: don't convert the child. This unusual situation is used in Apricot for testing. 2008-09-07 10:47:33 +00:00
Ton Roosendaal
7666666992 Bugfix #17490
Camera feature "DOF Object" was drawing the cross marker on wrong location
when camera scales. Simple fix by using Mat4Ortho()
2008-09-07 10:24:02 +00:00
Joshua Leung
eb9f4461ea Constraints - Space Conversions Code Tidyup:
Finished verifying that all possible combinations of space conversions were accounted for.
2008-09-07 04:43:31 +00:00
Daniel Genrich
54a4b036a3 Some version were not merged from svn/missing --> svn merge -r 16370:16371 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-09-07 01:43:55 +00:00
Benoit Bolsee
667c8d83fb BGE patch: break parent relationship when child and parent are not active/inactive at the same time. This unusual situation is used in Apricot for test purposes. 2008-09-06 22:06:01 +00:00
Benoit Bolsee
9f05477ea1 svn merge -r 16371:16396 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-09-06 17:49:26 +00:00
Campbell Barton
c7fe2199a7 object_find, didnt get images from an objects material textures
KX_PythonInit.cpp - own error in recent commit.
2008-09-06 17:04:54 +00:00
Benoit Bolsee
601979fc15 Fix Windows compile error. Update MSVC project files 2008-09-06 16:53:44 +00:00
Kent Mein
115cf18bed converted my gen_utils.h fix to PyObjectPlus.h
Also added a fix for PyMarshal_WriteObjectToString

Now I just need to figure out linking of the gameengine on my imac.

Kent
2008-09-06 14:13:31 +00:00
Brecht Van Lommel
810f799660 Revert a commit from 5 years ago that added a glFinish call before swapping on Windows. This is really bad for performance and especially showed in the game engine. The purpose was to disable FSAA and fix some UI issue on Geforce 2 graphics cards, hopefully the drivers have been fixed by now? I have no way to test this, so we'll see if an issue pops up on those older cards, and a lot of code changed since then anyway so it might not even be needed anymore. 2008-09-06 13:24:42 +00:00