Campbell Barton
7fac200080
remove unused define CLAMPTEST, move INPR to
...
collision_compute_barycentric(), only place its used.
2013-05-08 12:56:02 +00:00
Campbell Barton
3b341068ba
warn of sign conversions for low level apis - ghash, heap, mempool
2013-05-08 12:55:51 +00:00
Campbell Barton
89c8de1f48
add matrix multiply for projection that outputs 2d values.
2013-05-08 12:55:36 +00:00
Campbell Barton
357655af32
use static functions for raycast functions.
2013-05-08 12:55:05 +00:00
Campbell Barton
8238cd6992
use unsigned int, for mask rasterizer.
2013-05-08 12:54:47 +00:00
Campbell Barton
5c4f96af2c
code cleanup: use 'const float[2]' where possible.
2013-05-08 12:54:33 +00:00
Campbell Barton
62db610220
use unsigned int's for smallhash, avoids using ABS when converting an
...
int from a key.
2013-05-08 12:54:07 +00:00
Campbell Barton
6b1b20ef0d
code cleanup: BKE_mesh_nurbs_displist_to_mdata(), use const bool for
...
'conv_polys'
2013-05-08 12:53:52 +00:00
Campbell Barton
67ec36a615
use negative dot product for clipping, rather then doing it inline.
2013-05-08 12:53:43 +00:00
Campbell Barton
3e4db4969c
code cleanup: remove unused 'dm' arg from BVHTreeFromMesh.
2013-05-08 12:53:34 +00:00
Campbell Barton
cf3d638681
remove unneeded null check in draw_viewport_name
2013-05-08 12:53:14 +00:00
Campbell Barton
34c28e3a0e
fix [ #35259 ] Crash when enabling mesh analysis intersect.
2013-05-08 12:40:23 +00:00
Brecht Van Lommel
fdcca14090
Fix #35255 : build for older OpenCollada versions failed, but don't see a good
...
reason to not keep it working.
2013-05-08 10:07:58 +00:00
Brecht Van Lommel
13c0ef139f
Fix OS X 32 bit build error, and bring buildbot config in sync with default.
2013-05-07 18:32:37 +00:00
Ton Roosendaal
aa959b4e7d
Putting undefined versioning to only older than 2.67.
2013-05-07 16:35:37 +00:00
Ton Roosendaal
a0800cb8b3
And here's the epic 2.67 splash and version!
...
Celebrating Freestyle :) Kudos to dfeveloper Tamito and Malaysian artist Mclelun!
2013-05-07 16:27:55 +00:00
Sergey Sharybin
5455928262
Fix #35122 : Blenderplayer crashes when loading level
...
Issue was caused by ntreeUpdateTree calling for a ntree
which is not in G.main.
This lead to issues in ntreeVerifyNodes (which is called
from ntreeUpdateTree).
Made is so ntreeUpdateTree now accepts main as an argument.
Will work for the release, later we could either solve the
TODO mentioned in ntreeUpdateTree which will eliminate need
in main there or make it so context's main is used from all
over where ntreeUpdateTree is called (currently there're
still some usages of G.main).
2013-05-07 15:28:42 +00:00
Campbell Barton
c31ec62d2f
fix for glitch in text editor using ctrl+(backspace / delete),
...
for now just don't jump words when theres a selection.
2013-05-07 01:00:19 +00:00
Campbell Barton
0ffde4fae3
expose bmesh volume calculation to python api (use for print toolbox addon).
2013-05-07 00:00:32 +00:00
Sergey Sharybin
88129ac395
Fix for crash when using 2D stabilization for float movie clips
...
Also removed unneeded image buffer scaling, it was only needed
for "early output" if there was no rotation. That is no longer
supported since it used to pixelate result a lot and interpolation
is always used now.
Saves quite a few of memory and CPU cycles.
2013-05-06 17:59:02 +00:00
Sergey Sharybin
9aed3f62d3
Fix missing angle zerolization when 2d stabilization is disabled.
...
Not sure how it wasn't noticed for so long, probably check happens
in callee as well, but better be safe than sorry here.
2013-05-06 17:24:30 +00:00
Brecht Van Lommel
7224513f57
Fix crash rendering material with "Face Textures" option.
...
Example file: lib/tests/materials/crystal_cube.blend
2013-05-06 14:00:28 +00:00
Sergey Sharybin
ad7a74f58d
Another correction to svn rev56509
...
Initial fix was not fully working, because faulty
edge shared the same address as screen area. This
lead to screen freeing issues -- double free (which
was supressed by guarded allocation actually) but
also freed memory access when iterating via edges
to free them.
Solved by a small hack which removes edges with bad
vertices from edges list. This prevents double-free
and freed memory access cased by corrupted files we're
currently fixing. In other cases this tweak is likely
be harmless -- in worst case scenario it'll lead to
small memory leak, which is not as much lethal as
freed memory access.
2013-05-06 12:27:14 +00:00
Sergey Sharybin
5282c4d003
Fix for uninitialized variable in previous commit.
2013-05-06 11:38:21 +00:00
Ton Roosendaal
b299b039f7
Bug fix #35179
...
Added provision for saved corrupt blend files - caused by a startup.blend
addressing > 16 GB space, which was read in 32 bits.
Now an invalid screen will get removed immediate after read. Might give
a memory-not-in-memlist print, but that's quite safe.
2013-05-06 11:23:13 +00:00
Brecht Van Lommel
c36365935c
Fix #35229 : collada crash exporting constraints with no target set.
2013-05-06 11:12:00 +00:00
Brecht Van Lommel
f39464870c
Attempt to fix #35228 : hide a few LLVM symbols that are not in the llvm namespace
...
to try to avoid conflicts with Mesa GL llvmpipe on linux.
2013-05-06 09:44:56 +00:00
Campbell Barton
4319685234
fix for cursor jumping error stepping backwards where the the first character of a string would be skipped no matter what it was.
2013-05-06 03:35:21 +00:00
Campbell Barton
c97983c9de
correction for uv template, also some doxygen comment corrections.
2013-05-05 18:41:45 +00:00
Brecht Van Lommel
62087935ec
Fix #35209 : cycles generated texture coordinates did not stick to deforming meshes.
2013-05-05 05:56:41 +00:00
Campbell Barton
998b9241be
correct bmesh api crossref and update uv-operator template.
2013-05-05 05:54:29 +00:00
Campbell Barton
463f2a43dc
revert part of own commit r56476, caused scene unlink button to be removed.
2013-05-04 22:29:33 +00:00
Sv. Lockal
f9c28cdc7a
Fix for non-terminated reading of JPEG metadata
...
This commit prevents Blender reading memory next to non-null-terminated JPEG metadata strings
2013-05-04 21:12:23 +00:00
Brecht Van Lommel
fd0ad3c8df
Fix quicktime video export not properly supporting animation of audio properties like volume.
...
Patch #35184 by James Yonan, see the report for a detailed explanation of why this failed.
2013-05-04 13:17:43 +00:00
Campbell Barton
c656174578
fix for mistake in own recent commit, broke operator search (r56465).
2013-05-03 22:43:02 +00:00
Bastien Montagne
879859e0cc
Second part of fix for regression of nodes UI translation (since new pynodes): add back sockets translation.
2013-05-03 14:01:12 +00:00
Campbell Barton
0e27e71962
correct own recent commit, confused totloop with dm_totloop, rename vars & correct even though in this case the error was harmless.
2013-05-03 08:37:18 +00:00
Campbell Barton
a947ea0a1e
disable view3d dolly, move, pan -- when the view offset is locked, also corrected fly modes offset lock check
...
and added ED_view3d_offset_lock_check() to reuse between functions.
2013-05-03 07:29:25 +00:00
Campbell Barton
2a78a14369
knife sort_by_frac_along was re-calculating the reference factor for every test, change to only calculate once and use line_point_factor_v3().
...
also add zero division check for line_point_factor_v3() since the 2d version already checked for this.
2013-05-03 05:57:33 +00:00
Brecht Van Lommel
7753d1c49c
Fix #34889 : negative lights not working in glsl view and game engine.
...
Patch #35197 by Tyler Seacrest.
2013-05-03 05:24:01 +00:00
Tamito Kajiyama
9d25253596
Minor code clean-up.
2013-05-03 03:36:33 +00:00
Campbell Barton
e281fff26c
remove unused random number generator, thanks Bao2 for spotting.
2013-05-03 02:23:55 +00:00
Campbell Barton
854fd94016
bge py api: raise an overflow exception when assigning a float to a bge object which is out of the float range.
...
also avoid raising exceptions by ConvertPythonToValue when they will be ignored.
2013-05-03 01:13:51 +00:00
Campbell Barton
d92bd6bb04
fix [ #35194 ] Change view while LoopCut is active breaks the cut options
...
use edge-index rather then mouse coords for loopcut so the viewport doesn't interfere.
2013-05-03 00:22:22 +00:00
Campbell Barton
91ba6c9ced
adjustment to own commit r56463.
...
when strings use 'PROP_NEVER_NULL' we still want them to show an unlink button.
2013-05-02 21:27:19 +00:00
Campbell Barton
fe208a895a
fix for mistake in own commit r56399, it broke click-dragging to open and select a menu item.
2013-05-02 19:51:32 +00:00
Brecht Van Lommel
92450a29fb
Fix #35157 : export key configuration did not export text input events correctly.
2013-05-02 19:43:52 +00:00
Brecht Van Lommel
cc86176a60
Fix #35190 : texture mask stencil Reset Transform did not work properly.
2013-05-02 17:55:17 +00:00
Ton Roosendaal
12db4f3eae
Revert fix for #34822
...
Allowing any-key modifiers to work is cool, but this needs more work.
My previous fix made overlapping key presses (where you release key 1
just after pressing key 2) to not register as valid shortcuts.
2013-05-02 15:10:24 +00:00
Brecht Van Lommel
4a4f091155
Fix #35174 : dynamic paint displacement missing in render.
...
A previous bugfix disabled the dynamic paint modifier for orco texture
coordinate evaluation of the modifier stack. However the MOD_APPLY_USECACHE
flag is not a good way to check if the modifier is evaluated for orcos.
Instead I've added a MOD_APPLY_ORCO flag. Also removed a bunch of
applyModifierEM callbacks, none of them served a purpose except for the
subsurf modifier.
2013-05-02 14:42:05 +00:00