26531 Commits

Author SHA1 Message Date
Campbell Barton
2777ba74b0 remove include paths which dont exist, fix for doc upload script which was getting the blender version twice and not working sometimes. 2010-10-27 13:52:12 +00:00
Nathan Letwory
a213dc2679 Commit new splash and bump version. Ready for tagging! v2.55 2010-10-27 11:33:04 +00:00
Campbell Barton
d666b4fae5 fix for shift offset in own recent commit for drawing the camera border in camera view. 2010-10-27 11:05:46 +00:00
Nathan Letwory
2f0f257410 Revert /WX here until fix in Blender.py is done. 2010-10-27 10:45:36 +00:00
Campbell Barton
7b8db3fab7 [#24414] Render hanging on small render border.
large render sizes could cause an the threaded tile processor to hang because winx * winy wrapped into a negative value.
also convert winx/winy to floats before multiplying for vector passs.
2010-10-27 10:36:22 +00:00
Campbell Barton
defc47bcb9 recent fix r32626 for [#24339] wasnt correctly clamping the depth rectangle, crashing with grease pencil in some cases. 2010-10-27 08:55:13 +00:00
Campbell Barton
a49d1c20f1 Convenience defines SEP and ALTSEP (python has these), move BLI_*_slash function into path_util.h since these are not fileops. 2010-10-27 06:41:48 +00:00
Campbell Barton
676829ccba workaround for python bug [#24400] If Script is executed with TEXT Editor, it becomes an error.
having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.
2010-10-27 06:05:22 +00:00
Matt Ebb
27b527c164 Fix [#23972] 2.54 beta crashes when rendering scene with many volume objects
Sticky-taped on more hacks to the already crumbling shading system.
2010-10-27 02:18:24 +00:00
Nathan Letwory
16e478cdb7 Fix [#24053] 64-bit Windows installer installs keys to 32-bit registry
Reported and patch-suggestion by George Pollard
2010-10-26 23:52:34 +00:00
Nathan Letwory
f875777212 Change /WX away for now, some odd thing going on between cloned environments. Need to check after release. 2010-10-26 23:32:59 +00:00
Campbell Barton
e3f8bcbe88 bugfix #24334] Filename looses all parts after a dot when saving
replacing the extension could remove the frame number added to a path when writing images, so just add the extension rather then replacing even though it gives odd names at times. eg: foo.png0001.tga
2010-10-26 23:28:10 +00:00
Matt Ebb
d9757e2705 Don't reset view clipping to 0.1 on entering local view, if you're working on
something close up with < 0.1 clipping, then toggle into local view it gets very 
annoying.
2010-10-26 22:49:49 +00:00
Nathan Letwory
50c5b7fc5c Some improvements to the uninstaller part:
* don't just recursively delete $BLENDERHOME
* seperately ask confirmation for recursive deleting contents of:
  - $BLENDERHOME\$SHORTVERSION\plugins
  - $BLENDERHOME\$SHORTVERSION\scripts
  - $BLENDERHOME\$SHORTVERSION\config
* Have clear warnings about files going to be deleted
2010-10-26 22:48:26 +00:00
Nathan Letwory
c0314f1041 Make sure plugins/ goes under shortversion/ dir 2010-10-26 22:13:37 +00:00
Nathan Letwory
b6880139e2 Revert 32710 for now, otherwise can't test release building with scons. 2010-10-26 21:16:11 +00:00
Campbell Barton
f13417a969 keep the view centered with camera shift, camera view grease pencil intentionally ignores shift. 2010-10-26 20:51:11 +00:00
Campbell Barton
a44f4dd400 dont use const for matrix arg, since it needs to be cast in most cases. 2010-10-26 20:41:16 +00:00
Campbell Barton
d5f66ea925 partial bugfix [#24002] Constraint "Limit rotation" doesn't work properly
this fixes the obvious problems but there are still some rotation jumping when clamping in some cases.
2010-10-26 16:55:38 +00:00
Campbell Barton
f8ec6b8654 move matrix decomposition out of object.c into BLI_math_matrix function: mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers.
also added access to this in python's mathutils.Matrix()
 loc, quat, scale = matrix.decompose()
2010-10-26 12:48:07 +00:00
Nathan Vegdahl
30b4fa2aa8 Removed old rigify code, as it is starting to interfere with the newer Rigify addon.
The newer addon currently resides here: bzr://bzr.cessen.com/rigify
But will eventually be included in svn.
2010-10-26 05:07:09 +00:00
Dalai Felinto
05abc0d3eb blenderplayer building again in CMake+MSVC
(I basically commented out functions already defined in other places)
2010-10-26 01:55:06 +00:00
Campbell Barton
3264ced377 move geometry python module into mathutils.geometry, since it provides utility functions using mathutils types. 2010-10-25 22:44:01 +00:00
Campbell Barton
29605fc06d Added function RNA_property_update_check() to check if an update call is needed,
Simple python benchmark shows this to be about 3x faster in the case where an update isn't needed.

This also speeds up rna function argument parsing, since each arg in a function call did 2 string lookups on the context which were never needed.
2010-10-25 21:57:45 +00:00
Campbell Barton
82fd7f21fc curve widget bounds were not properly clipped causing drawing artifacts in other views. 2010-10-25 18:12:28 +00:00
Janne Karhu
7869c7ee85 Fix for [#24383] Particles using "circle" as display, are disabled on opening file 2010-10-25 17:20:12 +00:00
Campbell Barton
e002bcd876 bugfix [#22277] Absolute Shapekeys crash (in BGE)
running a shape actuator on a softbody would crash because it assumed the deformer was a BL_MeshDeformer.
Added TODO note, since it would be nice if softbody would work with shape keys too.
2010-10-25 17:08:40 +00:00
Campbell Barton
0dde63c044 bugfix [#24377] Bad frames drawn 2010-10-25 13:37:49 +00:00
Sergey Sharybin
d327f08f9a Fix #24255: Multires object gets modified when joining it to another multires object.
Fix #22018: joining objects with different multires levels loses levesl from the higher multires object

- Synchronyze mulires subdivision level when joining objects
- Apply scale on MDISP layer when applying scale
- Re-calculate MDISP when joining scaled objects
2010-10-25 08:03:05 +00:00
Nathan Letwory
01cdd515fb Compile fix after math API change from r32694 2010-10-25 07:36:14 +00:00
Nathan Letwory
a1336fd6f1 Add missing includes to remedy implicit declaration of functions. 2010-10-25 07:28:57 +00:00
Guillermo S. Romero
b1a6ffbc37 SVN maintenance. 2010-10-25 07:19:43 +00:00
Campbell Barton
904f82b49f bugfix [#24376] Fly mode disturbs the rotation or scale of the camera object 2010-10-25 07:12:29 +00:00
Campbell Barton
3320b6fdd6 missed adding the file when moving fly mode. 2010-10-25 07:09:38 +00:00
Campbell Barton
1713f07e5e first part of bugfix [#24376] Fly mode disturbs the rotation or scale of the camera object
object_apply_mat4 was incorrectly negating the matrix values,

This worked in most cases but even when it worked would end up with negative scales too often.
now when no negative scale is used they will all stay positive and from my tests it works in all cases now.
2010-10-25 06:59:18 +00:00
Nicholas Bishop
acef2ca4c5 Closing #24367 (Incorrect behaviour for Optimal Display option) and reopening #22634 (sculpting/multires and wireframe display mode glitches)
* Reverting my earlier changes to subsurf edge drawing; seems to be causing more bugs than the minor bug it fixed.
2010-10-25 02:58:32 +00:00
Campbell Barton
2882c4b6ef move fly mode operator into its own file. 2010-10-25 02:30:16 +00:00
Luca Bonavita
406fd33a86 == addons ==
- new (and temporary) directory addons_extern/ to store external projects addons
2010-10-24 16:01:21 +00:00
Nathan Letwory
a301d2c898 Remove the unsigned, since totbits is signed too. 2010-10-24 12:54:52 +00:00
Nathan Letwory
715fa82769 Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this). 2010-10-24 12:45:47 +00:00
Campbell Barton
989a610fc8 rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used like this much elsewhere in rna. 2010-10-24 08:06:19 +00:00
Damien Plisson
deb058a669 Collada : header files order dependency was making osx compile fail 2010-10-24 07:55:56 +00:00
Campbell Barton
619a8b6952 bugfix [#24357] Font folder can be specified but is not opened
- open operator was incorrectly checking if the font path was set.
- rna ID editable check was also incorrect, checking the ID name rather then the filename.
- use define FO_BUILTIN_NAME rather then "<builtin>".
2010-10-24 07:02:19 +00:00
Campbell Barton
1424a171a4 bugfix [#21097] Rotating multiple bones with non-local location behaves incorrectly.
- rotation and bone scaling with Durian feature 'Local Location' would fail to correctly translate the bone
because a different matrix is needed for translation and rotation.
2010-10-24 06:16:44 +00:00
Campbell Barton
c7ff23cc34 Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror in their CMAKE_C_FLAGS_DEBUG (so all warnings give errors).
but external libs which we don't maintain & generated code will have -Werror removed.

This is GCC only, MSVC can be added easily.
2010-10-24 03:57:07 +00:00
Nicholas Bishop
ea5670f4b5 Fixed bug #24364, "subsurf modifier causes wire-only meshes to disappear in object mode."
* Re-added code to draw loose edge
2010-10-24 02:02:37 +00:00
Guillermo S. Romero
1de1d6537e Fully disable AUD's FFTW3 usage. 2010-10-24 00:09:23 +00:00
Campbell Barton
2d9be2226a warning fixes. 2010-10-23 16:03:31 +00:00
Campbell Barton
05b297c52f CMake options to disable Decimate and Boolean Modifiers: WITH_MOD_BOOLEAN, WITH_MOD_DECIMATE, renamed WITH_FLUID to WITH_MOD_FLUID 2010-10-23 15:40:13 +00:00
Campbell Barton
f383e2e0e6 Remove msvc build files which are not needed anymore. 2010-10-23 15:14:54 +00:00