Jens Verwiebe
98d66aeb97
OSX: comment cleanup
2013-10-13 18:51:21 +00:00
Jens Verwiebe
6d54ff5d83
OSX: Final cleanup for #60729
2013-10-13 18:14:38 +00:00
Jens Verwiebe
30d03e12bc
OSX: Get mounted volumes better method by using volume enums
2013-10-13 17:12:36 +00:00
Thomas Dinges
cb0c279d4d
* Fix scons compilation on Windows, missing pthreads include.
2013-10-13 09:27:48 +00:00
Dalai Felinto
54be5f2cf5
fix [ #37058 ] 2.69 RC1: Symmetrize directions are all reverse
2013-10-13 05:45:29 +00:00
Campbell Barton
cbba50a3a1
fix for over-alloc in dyntopo, was allocating the vertex size, not pointer size (~85% wasted space).
2013-10-13 05:13:38 +00:00
Dalai Felinto
b20d3bab80
fix [ #37046 ] Dissolve edges and vertices problem with triangulate
...
with review and collaboration from Campbell Barton
2013-10-13 05:04:06 +00:00
Campbell Barton
b00a8122e3
improve warp transform so it can be used as a general bending tool too.
2013-10-13 01:09:23 +00:00
Campbell Barton
eabf7ab335
code cleanup: utility function for getting a bool as a string.
2013-10-13 00:32:31 +00:00
Dalai Felinto
3a63adb5ff
fix [ #37034 ] Triangulate modifier asserts with GHASH_FLAG_ALLOW_DUPES
2013-10-13 00:30:49 +00:00
Dalai Felinto
7c2fae19b4
cmake/openimageio - partially reverting #60692
...
We now have openimageio building when cycles builds or when it's
manually set to build.
(I reverted the _IMAGE_ in the define name because I think the closer
the cmake flags match the defines in the software the better, and there
is no reason to rename all the existent WITH_OPENIMAGEIO references in
CMakeLists.txt - which would be the alternative)
2013-10-12 23:56:21 +00:00
Campbell Barton
2ce3bd0d67
code cleanup: use more obvious assignments for transform snapping angles.
2013-10-12 22:31:02 +00:00
Campbell Barton
3e79a0a5e0
fix for possible eyedropper NULL pointer use.
2013-10-12 18:11:54 +00:00
Sergey Sharybin
d06bc34088
Fix for prefetch not working correct if last frame was loaded
2013-10-12 14:47:04 +00:00
Sergey Sharybin
d7983e3638
Option to overlay mask over the footage
...
Currently supports only two modes:
- Show alpha channel of the mask
- Multiply footage by the mask, which will give
you final-looking combined image.
TODO: Currently rasterization happens on every
redraw, need to cache rasterized mask
somewhere to make redraw more realtime.
2013-10-12 14:09:05 +00:00
Sergey Sharybin
f0dcff9aa9
Task scheduler ported form CYcles to C
...
Replaces ThreadedWorker and is gonna to be used
for threaded object update in the future and
some more upcoming changes.
But in general, it's to be used for any task
based subsystem in Blender.
Originally written by Brecht, with some fixes
and tweaks by self.
2013-10-12 14:08:59 +00:00
Brecht Van Lommel
1a3011ac83
Fix #37045 : blender internal SSS rendering black on some system when the SSS
...
reflection color was set to 1 1 1. BSSRDF parameter fit not converging properly
due to float precision issues.
2013-10-12 13:44:40 +00:00
Brecht Van Lommel
6d9ccbc28d
Further tweak for dual quaternion armature deform problem, tweak the epsilon
...
value to solve some more cases.
2013-10-12 12:54:09 +00:00
Bastien Montagne
11f0e35236
Revert both own r60700 and r60702. API behavior for expanded enums is completly inconsistent, but again, better to do such changes (soft-breaking API) in bulk...
2013-10-12 11:28:37 +00:00
Lukas Toenne
e192f5b198
Fix #37047 , Expanded Enum Alignment glitching.
...
The enum item buttons in the node header change their alignr when switching the tree type, due to different things being shown in the header (this rarely happens in other panels, so it doesn't turn
up easily). The new alignnr needs to be copied to existing block buttons in ui_but_update_from_old_block to ensure the enum items get aligned to each other.
2013-10-12 11:05:12 +00:00
Bastien Montagne
c7109b152e
Followup to own r60700, fix was not correct... In fact, beahivor of expanded enums is not consistent with other properties, as there labels are never shown. Keep it for now, though, as this would break many scripts and ui file, better to do this in bulk!
...
Thanks to DingTo and plasmasolutions for notifying the issue.
2013-10-12 11:03:32 +00:00
Bastien Montagne
b2d3b0244a
Fix obvious error in expanded enum layout code, given uiname would never be use...
2013-10-12 09:43:57 +00:00
Irie Shinsuke
6caacff196
More fixes for PSD support in SCons scirpts...
2013-10-12 06:11:26 +00:00
Campbell Barton
7998b2f6a7
transform - use 2d float's for the viewport center (allows for vector math functions to be used more easily).
2013-10-12 03:42:06 +00:00
Campbell Barton
b6db417ee4
code cleanup: use const's for vector args.
2013-10-12 02:19:37 +00:00
Brecht Van Lommel
744f691af4
Fix dual quaternion armature deform giving erratic results in some cases. Bug
...
was encountered in a Kiribati rig file.
The problem was actually in the matrix to quaternion conversion function. One
problem is that it was using the wrong matrix indices in case of an ill defined
matrix trace. Besides that FLT_EPSILON was too small to detect cases where
float precision becomes a problem.
2013-10-12 00:08:34 +00:00
Brecht Van Lommel
3127952259
Fix crash running Blender in background mode, caused by revision 60633.
2013-10-12 00:08:33 +00:00
Irie Shinsuke
90cd0a37a9
Fix build scripts related to PSD support. Both CMake and SCons builds were broken.
2013-10-11 23:14:01 +00:00
Jens Verwiebe
356de10534
scons: fix WITH_PSD compiling, still i think muddled naming is used here, todo: cleanup
2013-10-11 21:37:25 +00:00
Irie Shinsuke
b83f755542
Fix [ #37049 ] Default keybindings: Text editor auto-complete accepts Return, but not Numpad Enter
2013-10-11 19:44:56 +00:00
Dalai Felinto
6549c1bf29
scons file for OIIO (needed for psd)
...
based on patch by Shinsuke Irie
note: scons is not working for me at the moment so I did not test this
patch. It should work fine though.
2013-10-11 16:38:31 +00:00
Dalai Felinto
029f4b9767
adding WITH_IMAGE_OPENIMAGEIO and removing the PSD build option
...
As per Brecht van Lommel's suggestion.
2013-10-11 16:38:04 +00:00
Bastien Montagne
76c94972da
Fix [ #37039 ] Resize lists by new grab handles puts file into unsaved state.
...
Simply do not enable undo for LISTBOX buttons (the same as ROUNDBOX & co). Many thanks to Campbell who did all the work here!
2013-10-11 12:50:19 +00:00
Antony Riakiotakis
31d492815e
Fix #36905 : backport of fix in soc-2013-paint. This commit ensures that during color sampling the cursor of the current brush is disabled. This avoids sampling of the brush cursor for really small brushes. Only caveat is that if operator exec is called then cursor might be visible in new sample location. This is not so common though.
2013-10-11 02:23:20 +00:00
Campbell Barton
f895bc54cd
code cleanup: boxpack, pack struct and use unsigned ints
2013-10-11 00:22:00 +00:00
Antony Riakiotakis
187f664c75
Fix #37036 , pack and refresh button not aligned anymore. Also add
...
operator for opening images in the image editor header, it's easily one
of the most common operations, don't see why it has to be only accessed
from menu.
2013-10-10 23:33:59 +00:00
Campbell Barton
3f5be1ef0a
fix for select linked walking over the same faces multiple times. (caused gset assertion).
2013-10-10 23:18:37 +00:00
Campbell Barton
03602dc158
use BLI_bitmap for editmesh selection buffer to save some memory.
2013-10-10 22:30:16 +00:00
Campbell Barton
ecc5eb59c6
fix [ #37030 ] Loop Cut and Slide doesn't clear header text if you click a blank area
2013-10-10 21:04:39 +00:00
Campbell Barton
830974bc1e
fix [ #37032 ] Blener crashes when parent to new object
2013-10-10 20:56:27 +00:00
Campbell Barton
cb6e795a47
fix [ #37031 ] bones are not selectable in weight paint mode anymore
2013-10-10 20:23:24 +00:00
Campbell Barton
afab39b9d6
code cleanup: use const's for static arrays
2013-10-10 20:22:17 +00:00
Campbell Barton
35bb5465ae
code cleanup: reuse rna_matrix_dimsize_NxN defines between RNA functions
2013-10-10 20:14:04 +00:00
Campbell Barton
e220d3228f
add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.
2013-10-10 18:18:13 +00:00
Campbell Barton
8fd52b3433
style cleanup
2013-10-10 17:28:01 +00:00
Brecht Van Lommel
b880b01db5
Fix OS X build error in malloc code, and warning in rna.
2013-10-10 15:44:47 +00:00
Lukas Toenne
0d5856e96e
Made node socket flags into enum.
2013-10-10 13:09:00 +00:00
Lukas Toenne
906111cb22
Get rid of the draw_input/draw_output callbacks for nodes. These are pretty useless wrappers around socket draw functions. Only use-case is the File Output node, which draws socket format type instead of
...
an input value. This is now a special case in the standard socket type drawing, but should eventually become a socket type of its own for the File Output node.
2013-10-10 13:07:09 +00:00
Lukas Toenne
3b7d5a8a40
Change to node output socket drawing: Instead of always drawing only the socket label for outputs, leave this check up to the socket type draw function. This gives custom node scripts more flexibility in
...
how to draw socket values by allowing buttons on output sockets as well.
http://wiki.blender.org/index.php/Extensions:2.6/Py/API_Changes#Python_Node_Output_Drawing
2013-10-10 12:58:35 +00:00
Lukas Toenne
2a54928563
NodeSocket RNA property 'in_out' renamed as boolean 'is_output'. This is a more useful name and follows the API naming conventions better.
...
http://wiki.blender.org/index.php/Extensions:2.6/Py/API_Changes#Node_Socket_in_out
2013-10-10 12:58:33 +00:00