Thomas Dinges
bdce58a42c
Code cleanup:
...
* Remove some non used *_button_register functions, panels are done in python.
* Remove do_node_region_buttons, was not used anymore.
Fix:
* Only show Grease Pencil panel in the Node editor, when there is a valid nodetree.
2012-04-13 00:04:56 +00:00
Brecht Van Lommel
2a5a465e2c
Fix part of #30917 : solid + glsl + textured solid in texture paint mode did not
...
show textured solid as it should, was using glsl instead.
2012-04-12 17:34:29 +00:00
Ove Murberg Henriksen
93f22cf012
svn merge ^/trunk/blender -r45364:HEAD --accept postpone
2012-04-12 16:01:24 +00:00
Brecht Van Lommel
10a333556a
Fix related to #30917 : wrong colors in cycles textured draw mode in some cases,
...
missed call to glColorMaterial made glEnable(GL_COLOR_MATERIAL) behavior
undefined.
2012-04-12 15:23:34 +00:00
Campbell Barton
d17efa64a6
improve mesh error prints and quiet a print in mesh_ensure_tessellation_customdata() which happened too often.
2012-04-12 14:36:57 +00:00
Thomas Dinges
d7221fd7c9
Scons / Windows release build configs:
...
* Enable CUDA per default, only thing the builder has to do for release libs, is to specify BF_CYCLES_CUDA_NVCC.
2012-04-12 13:58:16 +00:00
Sergey Sharybin
c1d6a3606c
Fix #30919 : Selection of multiple objects after EDIT MODE with MAYA PRESETS Keymap
...
Issue was caused by operator presets.
2012-04-12 13:33:19 +00:00
Brecht Van Lommel
02cf29d8b0
Fix: subsurf UV was not working correct with n-gons, it still had hardcoded
...
4 vertices per face code in some places.
2012-04-12 12:23:25 +00:00
Antony Riakiotakis
b3bca9d252
Minor code cleanup: Don't reference previous BMwEdgeringWalker after BMW_state_remove. Its memory is freed on that call.
2012-04-12 12:11:21 +00:00
Antony Riakiotakis
7004f929b9
Fix: loopcut didn't stop on hidden faces
2012-04-12 12:03:12 +00:00
Campbell Barton
405c9d9a95
code cleanup: remove unused KeyBlock.adrcode
2012-04-12 11:50:43 +00:00
Brecht Van Lommel
7db13b989a
Fix: cycles not using local 3d view camera when it is decoupled from the scene.
2012-04-12 11:42:18 +00:00
Sergey Sharybin
e6c45cc1de
libmv: bundle new upstream version from own branch with rigid registration implementation
...
Currently not used in blender code but is needed for some current work.
2012-04-12 11:37:51 +00:00
Campbell Barton
ca8fd669a4
bmesh shape key conversion.
...
- remove print for impossible error.
- add NULL check incase bmesh and mesh get out of sync (would crash if Basis key-block couldn't be found).
2012-04-12 11:27:50 +00:00
Campbell Barton
115e762556
bmesh exit editmode: when a mesh shape-key customdata layer exists but the shape-key-block isnt found, creating a shape key was allocated and inline - it didnt set the name or uid, Now use add_keyblock() as every other function does.
2012-04-12 11:11:31 +00:00
Campbell Barton
4c9486f13d
change add_keyblock() not to sort keyblocks by time since this can be a problem when using the function in lower level parts of the code, instead add add_keyblock_ctime() which sets time and sorts on absolute shape keys.
2012-04-12 11:05:16 +00:00
Campbell Barton
4b8ab31d81
add in a check for Mingw so 4.5 or older will error out on build.
2012-04-12 09:10:10 +00:00
Antony Riakiotakis
20f446073c
Took out OpenMP refactor out by mistake
2012-04-12 08:45:26 +00:00
Antony Riakiotakis
14c527a419
Revert changes that disable features on MinGW.
...
To compile on MinGW it is important to have the latest MinGW (gcc 4.6.2)
I have updated the instructions on the wiki to reflect this: http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows/Environment
2012-04-12 08:36:07 +00:00
Campbell Barton
c74ace03e0
fix [ #30907 ] Inset tool with Select Outer disabled does not allow translation of new faces
...
inset with select-inner faces gave invalid selection.
also correct spelling in some comments.
2012-04-12 07:40:47 +00:00
Campbell Barton
30888ac25c
doxygen docs explaining whats going on with shape-key conversion.
2012-04-12 06:52:50 +00:00
Campbell Barton
8660a20049
cmake/mingw now builds with default configuration (needed to disable tiff/exr/cycles)
2012-04-12 05:34:17 +00:00
Campbell Barton
a0c4efa3d2
code cleanup: remove duplicate define on windows.
2012-04-12 03:10:36 +00:00
Campbell Barton
f8b7cfb6ae
code cleanup: quiet some mingw warnings.
2012-04-12 02:50:21 +00:00
Campbell Barton
8fb067af93
code cleanup: avoid confusion with utfconv lib - was configuring this windows only lib on non windows platforms (scons only).
2012-04-12 02:37:28 +00:00
Campbell Barton
cc1259178b
code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings.
2012-04-12 02:15:33 +00:00
Campbell Barton
5aaf3ede76
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')
2012-04-12 00:15:02 +00:00
Campbell Barton
c8b19b7b7f
fix [ #30771 ] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"
...
behave the same as in 2.4x.
- merge BMesh / Pre-BMesh code shape key conversion code, old code was called as a fallback but merge instead.
- fix possible crash - new bmesh code was clamping the vertex index for the oldverts array by the new total number of verts.
2012-04-11 15:59:50 +00:00
Campbell Barton
1f6369fd41
bmesh shape key conversion on exiting editmode.
...
there were 2 blocks of code (both calculating the offset array), now move the fallback method into the main key conversions block.
2012-04-11 15:24:13 +00:00
Campbell Barton
e7b7bc1272
bmesh exit editmode shape key conversion - split out 'keyblock --> customdata layer index' into its own function, makes code easier to follow.
2012-04-11 14:59:35 +00:00
Campbell Barton
1eff051461
bmesh shape key conversion when exiting editmode.
...
- avoid running old conversion code if its not needed.
- de-duplicate functionality which gets offsets from edits made in editmode.
2012-04-11 14:42:44 +00:00
Sergey Sharybin
ce95b0be1e
libmv: bundle new upstream version from own branch which should support
...
compilation of glog on hurd platform.
2012-04-11 13:51:37 +00:00
Sergey Sharybin
bb0a3e1d90
Game engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL
...
That's what this function expect (but somehow does not use) and it gave compilation
error when using gcc-4.6.3 from debian linux.
2012-04-11 13:17:13 +00:00
Campbell Barton
c56b39b8dd
write mesh selection history to the blend file. without this active edge/vert are lost on UNDO.
2012-04-11 11:52:21 +00:00
Campbell Barton
a8226cbcb2
code cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose.
2012-04-11 11:22:19 +00:00
Campbell Barton
9e663017d8
py rna/api: fix for error running RNA_property_collection_type_get on non collection property types.
2012-04-11 10:35:09 +00:00
Brecht Van Lommel
a3b491eca7
Fix cycles opencl compile issue, fminf/fmaxf() was defined both as macro and function.
2012-04-11 09:07:28 +00:00
Brecht Van Lommel
1c84fb234f
Fix #30896 : cycles mask layer not working for objects without material assigned.
2012-04-11 08:57:54 +00:00
Campbell Barton
85908b498b
fix [ #30906 ] dict(prop) crashes if prop is a PropertyGroup with nested PropertyGroup
...
the ID of a python ID property can be NULL.
2012-04-11 08:37:48 +00:00
Brecht Van Lommel
e5579ac505
Fix #30895 : uv editor snap selected to adjacent unselected not working correctly,
...
was apply to unselected uvs too.
2012-04-11 08:37:38 +00:00
Brecht Van Lommel
fe7f354daa
Fix #30900 : when opengl offscreen render failed, the wait cursor would incorrectly
...
stay visible. Patch by Justin Dailey.
2012-04-11 08:27:07 +00:00
Campbell Barton
5da50b9c09
update for changes in the py api
2012-04-11 08:22:31 +00:00
Campbell Barton
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
Campbell Barton
9ae0523921
fix [ #30897 ] UVEditor: Snap Cursor to Selected
...
was writing the 3rd component of a 2D vector.
2012-04-11 07:47:09 +00:00
Sergey Sharybin
ff6867a768
Fix #30904 : MovieClip.objects.new() segfault when no name is passed
...
Made name property required for new().
2012-04-11 07:35:04 +00:00
Tamito Kajiyama
5f02b167d1
New options for specifying unit line thickness.
...
The Post Processing tab in the Render buttons has new Line Thickness options for
defining unit line thickness in two different modes as follows:
1. Absolute mode: The unit line thickness is given by a user-specified number
in units of pixels. The default value is 1.
2. Relative mode: The unit line thickness is scaled by the proportion of the
present vertical image resolution to 480 pixels. For instance, the unit line
thickness is 1 with the image height set to 480, 1.5 with 720, and 2 with 960.
2012-04-10 23:53:46 +00:00
Sergey Sharybin
84232f8d5a
Fix #30664 : Texturepaint color does not match texture color (3D View vs UV/Image Editor)
...
Another regression since bmesh merge which was caused getting CD_MTFACE from
polys datablock instead of face datablock.
2012-04-10 19:27:02 +00:00
Daniel Genrich
dde8c10432
Smoke: Fix for some non animated properties
2012-04-10 17:45:25 +00:00
Brecht Van Lommel
a52ba57b4d
Fix for recent commit that changed normal display buttons to use icons, the
...
vertex/face icons were swapped.
2012-04-10 17:01:35 +00:00
Brecht Van Lommel
63e2763842
Fix #30698 : python console nodetree paths were not accurate, now show ... like
...
in some other cases to at least show these are not accurate.
2012-04-10 16:37:05 +00:00