Commit Graph

26971 Commits

Author SHA1 Message Date
Joshua Leung
fd30c383dc Bugfix #24719: Layer ipocurves from Blender 2.49 wrongly ported to Blender 2.5x
Found and fixed a few problems here, but strangely I don't recall seeing any of these a few months ago when this conversion (probably last) worked well ...
2010-11-15 10:48:48 +00:00
Nathan Letwory
9453d40d93 Fix [#24552] Exception when starting Blender on Windows XP SP3
Reported by Ruud van Eeghem

Instead of running vcredist, which can fail when installing as normal user, have the DLLs
like our zip distribution bundled already inside install dir.
2010-11-15 10:29:42 +00:00
Janne Karhu
5182fa2e05 Fix for [#24724] Emission settings of Particles with no physics are stuck to Previous newtonian settings. 2010-11-15 09:15:23 +00:00
Campbell Barton
91d544f322 fix for very old crash when setting an empty object as the camera and using stars. 2010-11-15 09:00:09 +00:00
Campbell Barton
df9bedddcf bugfix [#24708] World Notifier Problems
also draw stars when 'Only Render' option is enabled.
2010-11-15 08:53:35 +00:00
Campbell Barton
4661fb03a9 bugfix [#24704] UV editor: [x] modified does not update on change of modifiers
- VBO UV Edge display wasn't allocating a large enough array for drawing.
- VBO UV Edge drawing was using an edge flag with faces.
- notifier for modifiers updating the UV window.
2010-11-15 08:03:20 +00:00
Campbell Barton
6401058c22 bugfix [#24704] UV editor: [x] modified does not update on change of modifiers 2010-11-15 07:07:14 +00:00
Campbell Barton
db16310386 - 'matrix_basis' for objects and pose bones, this is an alternative access to directly adjusting the loc/scale/rot.
- pose bone 'matrix_local' wasn't well named since it didn't work like object or regular bones.
- pose bone matrix values for rna had array access rather then 4x4 matrix access.

 note: for pose bones update scripts by renaming 'matrix_local' --> 'matrix_basis'
2010-11-15 06:38:07 +00:00
Campbell Barton
8fee983619 patch from Dan Eicher to support intel C++ compiler for CMake on *nix. 2010-11-15 05:32:49 +00:00
Campbell Barton
1a12d6d1d8 revert change from r32955.
This added a poll function to the Panel base class but this means that all panels register as having a poll() function which is called a lot and does nothing, raising an exception and removing it because of how python implements hasattr().

Found when checking why exceptions were continuously raised on redraw.

Martin, can you check on netrender?
2010-11-15 03:13:28 +00:00
Campbell Barton
7be25eba13 fix [#24712] 3ds_import fix
Rather then applying the proposed fix, enabling 'Apply Transform' works in almost all cases including the reported one.

There are some files that don't work with 'Apply Transform', which is why the option is worth keeping.

also remove unneeded calls to paint_facesel_test()
2010-11-15 00:07:38 +00:00
Campbell Barton
cdf7a1eaca creating the editmesh structure was running paint_facesel_test() for every vert and selected face.
not so efficient, check once.
2010-11-14 23:37:03 +00:00
Campbell Barton
e0209b593b unreported fixes for 3ds import
- non ASCII names would break loading.
- meshes with no faces would break loading too.
2010-11-14 22:30:51 +00:00
Martin Poirier
2d2a96a334 netrender
Adding retries on initial slave connection.
2010-11-14 22:11:56 +00:00
Nathan Letwory
1994fc80ed r33039 added dependency to COLLADA for blenderplayer, but it's really not needed there.
Stubbing for now.
2010-11-14 20:40:55 +00:00
Dalai Felinto
f4912b933e Logic UI bugfix: [#24628] two specific tooltips of keyboard sensor reversed
I also changed the order of them (target and log toggle) in the UI to match 2.49
2010-11-14 19:46:14 +00:00
Martin Poirier
43e6ccd57b Move rotOrder to proper transform data structure 2010-11-14 19:19:58 +00:00
Sergey Sharybin
ba965b0f7a Seamless texture used for beveled curve is now really seamless (thanks to Mario G. Kishalmi aka lmg) 2010-11-14 19:06:39 +00:00
Martin Poirier
f4f3bdb834 Correct description for Projection property (it doesn't just work on vertice) 2010-11-14 18:31:32 +00:00
Martin Poirier
7f0877f0dc bugfix [#24697]
Proper fix: change the poll function to reflect actual operator requirements.
2010-11-14 18:27:25 +00:00
Martin Poirier
bc7903c858 [#24639] Snap to Face (retopo) doesn't work when clipping is enabled in mirror modifier.
Apply project snap at the very end.
2010-11-14 16:31:06 +00:00
Andrea Weikert
25bd3feeb5 == filebrowser ==
* compile fix on non-Windows platforms.
2010-11-14 11:59:42 +00:00
Andrea Weikert
63f131803c == filebrowser ==
* removed now unused function file_string_width_shortened.
2010-11-14 10:53:49 +00:00
Andrea Weikert
2e84732228 == filebrowser ==
* drawing code cleanup.
* list drawing code now uses uiStyleFontDraw like buttons etc.
2010-11-14 10:48:36 +00:00
Campbell Barton
27f607f86d bugfix [#24668] Deleting armature objects removes a user from its action, eventually leading to data loss 2010-11-14 09:20:31 +00:00
Campbell Barton
c66731b634 bugfix [#24697] Trying to run bpy.ops.transform.create_orientation crashes Blender 2010-11-14 08:26:44 +00:00
Thomas Dinges
5bbe32be41 Forgot to Add NodeLink to the Access Struct file. 2010-11-14 08:11:58 +00:00
Campbell Barton
30ac7799c8 bugfix [#24702] 3Dmanipulator does not display if view's layers are not synchronize to scene's layers. 2010-11-14 07:49:07 +00:00
Campbell Barton
4a3e00488d fix for own recent error, [#24695] column_vector_multiplication call writes past end of array
was setting the vector array out of bounds with vec*=matrix, where the vector wasnt size 4.
2010-11-14 07:42:14 +00:00
Campbell Barton
6a49aca153 fix for own error in recent commit. add a back NULL terminator to the string in text_font_draw_character. 2010-11-14 07:28:53 +00:00
Campbell Barton
e4e79f4aa3 update for mathutils vector/matrix order change. 2010-11-14 07:02:55 +00:00
Thomas Dinges
e574b3cdcc Patch [#21942] Node links access by Andrey Izrantsev (bdancer) Thanks!
This adds Node Link Acces in RNA.
2010-11-13 22:38:33 +00:00
Joerg Mueller
2fbfd11f8d Fix for [#24654] Sound Actuator doesn't find the file when Blender is reopened. 2010-11-13 13:44:45 +00:00
Ton Roosendaal
c1dec420b0 Bugfix #20382
Fixed old annoyance in Search menu, with a load of object-mode 
operators showing up in editmode. 
It's much cleaner now, but it will take further work and 
investigation to have context & polls work satisfying for all cases.
2010-11-12 17:35:51 +00:00
Ton Roosendaal
17ab7466a7 Makefile fix for compiling with quicktime. 2010-11-12 16:14:31 +00:00
Campbell Barton
b1c9e599d4 bugfix [#24661] Object.find_armature() only works on meshes 2010-11-12 15:05:57 +00:00
Ton Roosendaal
0b23f03503 Bugfix #24335
ZCombine node in compositor ignored alpha values. Enabling it
would break compatibility though, so it's a tickbox option now.

Patch provided by reporter, Martin Lubich. Thanks!
2010-11-12 14:59:01 +00:00
Janne Karhu
3c4b1c0d60 Hide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
* Response to report [#24670] Keyframe fluid on/off does not work
2010-11-12 14:54:40 +00:00
Brecht Van Lommel
e83ef4efc5 Related to #24653: added scene.collada_export() function, to use instead of an
operator for external render engines, since operators should not be called in
the render() callback.
2010-11-12 14:36:58 +00:00
Campbell Barton
0a467d5183 bugfix [#24682] Render artifacts with mat node 2010-11-12 12:45:55 +00:00
Campbell Barton
a102c07f7d add back red tint for zero user datablocks. 2010-11-12 11:49:33 +00:00
Campbell Barton
ee7bf4dab5 take delta's into account when applying the objects matrix (dloc, drot, dsize).
Now object_apply_mat4() can be used as the reverse of object_to_mat4().

Noticeable result is fly mode and 'Apply Visual Transform' dont jump when deltas are used, also means setting matrix from python works as expected.
2010-11-12 11:16:04 +00:00
Campbell Barton
73a91bc548 fix for vec * matrix always returning a 3D vector. 2010-11-12 09:06:50 +00:00
Mitchell Stokes
d43d5d7690 Getting BLF to work with the Blenderplayer. 2010-11-12 07:16:33 +00:00
Campbell Barton
4f4bd27512 bugfix [#24665] mathutils.Matrix initialization is counter-intuitive and generates bugs
was printing transposed, also nicer printing.

>>> from mathutils import Matrix
>>> Matrix()
Matrix((1.0, 0.0, 0.0, 0.0),
       (0.0, 1.0, 0.0, 0.0),
       (0.0, 0.0, 1.0, 0.0),
       (0.0, 0.0, 0.0, 1.0))

was...
Matrix((1.000000, 0.000000, 0.000000, 0.000000), (0.000000, 1.000000, 0.000000, 0.000000), (0.000000, 0.000000, 1.000000, 0.000000), (0.000000, 0.000000, 0.000000, 1.000000))
2010-11-12 02:50:57 +00:00
Campbell Barton
a34f525a21 bugfix [#24660] (vector * matrix) fails, (matrix * vector) succeeds
- Reverse vector * matrix multiplication order. now this matches how numpy works.
- Disallow 'matrix * vec' and 'quat * vec', now it raises an error.
- Add missing in-place multiply 'vec *= quat'

Many scripts will need to be updated for this but at least it will error rather then failing silently.
2010-11-12 01:38:18 +00:00
Nathan Letwory
44e36b5156 Revert the reversal :) 2010-11-11 22:12:49 +00:00
Nathan Letwory
9860832820 Fix compile problems for msvc. 2010-11-11 22:09:09 +00:00
Joshua Leung
bc3ea2cb66 Revert r33023
Was causing compile troubles with MSVC:
wm_operators.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(322) : error C3163: '_write': attribute
s inconsistent with previous declaration
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(224) : see declaration of '_wri
te'
scons: *** [C:\blenderdev\b250\buildvc\source\blender\windowmanager\intern\wm_operators.obj] Error 2
2010-11-11 22:05:17 +00:00
Campbell Barton
fd9afa7431 rename anim.channels_revive_fcurves --> anim.channels_fcurves_enable
better matches existing VIEW3D_OT_enable_manipulator & ANIM_OT_channels_setting_enable
also fixed warning.
2010-11-11 21:49:40 +00:00