8dc3d4e3fd
Remove "Loading byte/float" debug messages. They were added at the time
...
we've been looking into texture limit for Mango and it's not needed now.
Anyway, this prints didn't cover all the cases when images were loading.
2012-07-31 15:28:36 +00:00
314e26c02c
Fix cycles issue with wrong texture coordinates on a second render layer with
...
a mask layer enabled.
2012-07-31 15:05:16 +00:00
fe401712a9
Code tweak removing comment, the fix here is indeed correct.
2012-07-31 15:05:11 +00:00
aac3f0eaeb
Fix warnings on old apple GCC compiler due to no support for alloc_size attribute.
2012-07-31 15:05:09 +00:00
Lukas Toenne
588e4a4327
Additional fix #32074 , by Sven-Hendrik Haase (svenstaro). Boost version header must be included in cycles in order to expand the version check macro.
2012-07-29 13:52:38 +00:00
a7e943c850
Blender now compiles with recent clang
2012-07-28 17:35:09 +00:00
2cd0b3f064
defines to make it easier to manage ik stretch constants (these may need to be tweaked to fix [ #32174 ])
2012-07-27 23:16:33 +00:00
f23bfdfab4
style cleanup
2012-07-27 22:35:27 +00:00
e2360ab495
IK's were converting double -> float -> double's in a few places, since precision is important and doubles are used a lot here anyway. just use doubles, also quiet some double promotion warnings.
2012-07-27 22:27:06 +00:00
24a00f14af
Fix compile errors on VC++ 2012 RC1.
...
Note: Compile still fails during ceres compile (namespace tr1 problems).
2012-07-27 18:18:13 +00:00
4c2de5e0c7
fix some types and incorrect info
2012-07-26 17:41:09 +00:00
Lukas Toenne
fec872ef9c
Added a particle index output to the Particle Info Cycles node. This is required to get consistent ID numbers for particles. The Object ID is not usable since it's a user defined value of the instanced object, which does not vary per instance. Also the random value from the object info node is not consistent over time, since it only depends on the index in the dupli list (so each emitted or dying particle shifts the value).
...
The particle index is always the same for a specific particle. Randomized values can be generated from this with the use of a noise texture.
2012-07-26 11:40:58 +00:00
8ad3e73965
Make Cycles compatible with older boost versions.
...
Patch by IRIE Shinsuke, thanks!
2012-07-25 20:25:47 +00:00
3337887fd1
Debug option for guarded allocation: store name of original datablock
...
when using MEM_dupallocN. This helps figuring out issues with non-freed
dup_alloc blocks,
Simply enable DEBUG_MEMDUPLINAME in mallocn.c file.
2012-07-24 15:17:03 +00:00
679847bd99
add prints for texture loading (we're running into texture limit a lot so its handy to see whats actually loading from the blend files)
2012-07-24 13:01:55 +00:00
5412389af6
fix for cycles bug in localview: see r48269, bits used for localview gave collisions with PathRayFlag's
2012-07-23 14:48:19 +00:00
76bea854b6
code cleanup: replace cos(M_PI / 4) and sin(M_PI / 4) with M_SQRT1_2 define
...
also some minor style cleanup.
2012-07-22 18:40:50 +00:00
Lukas Toenne
80c1bb4775
Removed nested comment, which causes compiler errors.
2012-07-22 11:21:36 +00:00
9b51503307
style cleanup
2012-07-21 22:58:08 +00:00
049dd8a0ff
Boolean modifier: prevent crashes when carve returns bad topology
...
For sure actual issue is in carve's triangulation system which need
to be investigated and fixed. For now only fixed by re-shuffling a
bit existing degenerative faces check and added extra checks there.
Would look into actual fix a bit later.
2012-07-21 19:19:45 +00:00
2557eaf0dd
print names of nodes/sockets when cycles complains about only being able to connect a closure to another closure.
2012-07-19 13:04:43 +00:00
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
e4cfcdc3a6
header comment cleanup, explain whats the difference between confusingly named drarnode.c and node_draw.c.
2012-07-14 15:29:45 +00:00
98520ce4de
use gcc attributes for BLI alloc functions
2012-07-14 12:47:49 +00:00
30b3907128
OSX: make the progressbar in dock a gradient, to give it a more matching 3D appearance
2012-07-12 11:35:51 +00:00
a87051bd8e
Patch #32074 : Fix compilation with boost 1.50
...
This patch switches from boost's filesystem v2 to v3.
This should be completely smooth due to filesystem v3 is pretty
old already.
Patch by Sven-Hendrik Haase (aka svenstaro), thanks!
2012-07-11 14:48:47 +00:00
35b6f41f46
patch [ #30274 ] XIM improvement (non-latin support + connection recovery)
...
from Shinsuke Irie (irie)
(from the tracker submission)
- allow us to input non-latin languages such as Japanese/Chinese
- recover XIM connection and its input contexts when XIM server restarted
Currently it supports only "root window" style input, while most people (and I) want "over the spot" or "on the spot" style one. Probably the implementation of "over the spot" or "on the spot" style becomes much complicated, because XIM server requires the coordinates of current cursor location relative to the screen in order to show the candidate window in appropriate position.
2012-07-11 08:31:54 +00:00
76ee9783a1
Improved cache management for movie clips from tomato branch
...
Replace pseudo-LRU approach of determining which buffer
to remove when running out of space allowed for cache
with approach which would remove the frame which is most
far away from newly added frame.
This is still a bit tricky because it's impossible to
distinguish which frame to delete in situation of:
CCCC...CC
^
it's either user wants to extend left segment of cached
frames and buffers from right segment should be removed
or he wants to join this two segments and in that case
buffers from right segment should be removed.
Would need a bit more investigation which situation
is more common in general usecase.
Additional changes:
- Cleanup some memutil files (which are familiar to cache limiter)
- Add option to make moviecache verbose. If DEBUG_MESSAGES is
defined in moviecache.c detailed logs would be printed to the
console.
- Movie caches are now named which helps reading debug messages.
2012-07-10 14:43:50 +00:00
f807c2a04c
rename raskter kdtree files to be less generic
2012-07-10 06:47:21 +00:00
bbbdcaa462
fix: inline to __inline in raskter.c for msvc
2012-07-10 05:16:43 +00:00
492d9aabe0
some code refactors in raskter.c to sync it with build where mask tiling is being developed. Also adds a bit more mask tiling code.
2012-07-10 04:51:08 +00:00
4563d1103d
fix warnings/errors in recent raster commit.
2012-07-09 23:16:39 +00:00
689403bf57
updating raskter to support tiles compositor. this commit puts in some groundwork code to support tiles's pixel processor
2012-07-09 22:57:23 +00:00
facb1512c0
fix/workaround for cycles crash packing bvh
...
brecht - when you get time please look into this to see if the fix is ok.
2012-07-09 12:55:16 +00:00
4c6abb8105
Fix for error from grumpy gcc in "over-warning" mode. Must explicitely cast uintptr_t to unsigned int (othe solution would be to use PRIuPTR macro from inttypes.h, but that would probably causes some problems with windows...).
2012-07-08 15:48:47 +00:00
76629c11ae
correct use of __attribute__((nonnull))
2012-07-08 15:11:13 +00:00
4bc818d240
code cleanup: quiet uninitialized memory use warning for X11 - harmless in this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized).
...
also some other minor changes.
2012-07-08 12:23:58 +00:00
b91bc4f037
use gcc attrubutes to warn on unused return values and arguments which shouldnt be NULL.
...
also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.
2012-07-08 06:00:27 +00:00
1d29ee0d3b
use alloc_size attribute for guarded alloc functions with gcc.
2012-07-08 03:15:37 +00:00
d8b86fd9b2
fix for error in own recebt commit, broke mask feathering.
2012-07-05 18:02:28 +00:00
19011d44cf
Doxygen cleanup
2012-07-05 04:47:47 +00:00
21bf13989f
code cleanup: remove Python.h include from blenkernel.
2012-07-04 20:13:39 +00:00
6e97ecee00
fix for crash with zero area mask.
2012-07-04 18:49:09 +00:00
8054c3a78e
style cleanup
2012-07-04 18:40:19 +00:00
558721ab59
More spell checking.
2012-07-04 15:04:38 +00:00
715edceb42
spelling cleanup: metre -> er
2012-07-04 12:56:58 +00:00
16e6b7b867
cycles changes:
...
- images that can't be loaded because of the limit are printed in the console.
- textures that can't be found show up as pink (so we know somethings wrong).
2012-07-04 11:48:42 +00:00
ff9a4e445e
fix for smoke writing uninitialized values to pointcache, not a big deal since they are ignored on reading.
2012-07-03 06:45:43 +00:00
a0c6371b7f
Smoke Bugfix: Turbulence was removed.
2012-07-02 13:41:51 +00:00
9f7af5ef7e
Bugfix for wrong / bad vorticity forming weird banding on the y and z axis.
...
Part of Blender Smoke Develeopment Milestone III.
2012-07-02 12:55:23 +00:00