Sergey Sharybin
d938f2de36
Merging r45928 through r45935 from trunk into soc-2011-tomato
2012-04-24 16:36:34 +00:00
Sergey Sharybin
166b3523f0
Prevent adding objects to be added to a group which is used as dupli-group for this object
...
when using "Add Selected to Active Group" operator,
2012-04-24 16:35:20 +00:00
Antony Riakiotakis
4e6590067d
revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too
2012-04-24 16:14:23 +00:00
Sergey Sharybin
dfe8c55e2d
Merging r45877 through r45927 from trunk into soc-2011-tomato
2012-04-24 15:26:26 +00:00
Antony Riakiotakis
0db3c5f743
Remove mingw-w64 errors from loss of precision by converting 64bit pointers to ints. All cases found were harmless and the error behaviour could be turned off by the -fpermissive flag but I'd rather keep that off to detect any real problems should they arise.
2012-04-24 14:33:44 +00:00
Antony Riakiotakis
4782522379
Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications.
...
Thanks!
2012-04-24 12:57:58 +00:00
Campbell Barton
bde288d656
crash fix for brush select when no object is active
2012-04-24 12:27:38 +00:00
Campbell Barton
e06e338e20
fix [ #31079 ] Revision 45893 crashes when I try to open a certain file created in it.
...
nasty bug going from 2.63 --> 2.62 --> 2.63, could have incorrect/corrupt data.
fix checks for this case and clears the customdata layer.
2012-04-24 10:25:12 +00:00
Antony Riakiotakis
b84cdafbb5
Add cycles support for MinGW-w64
2012-04-24 09:58:03 +00:00
Campbell Barton
9204f11052
fix for possible error building with debian
2012-04-24 09:45:56 +00:00
Campbell Barton
a667492d0e
fix [ #30997 ] Bevel angle option is broken (bevel vertex only)
2012-04-24 05:38:11 +00:00
Campbell Barton
f02694f5a4
workaround for vertex bevel modifier failing since the BMesh update.
2012-04-24 05:02:53 +00:00
Campbell Barton
077cbaddf0
- remove unneeded len_v3v3 in bevel code
...
- remove dead assignments from vgroup-blend
2012-04-24 04:44:51 +00:00
Campbell Barton
4ff038c411
screenshot operator now adds file extension in the file selector and has its own save options rather then using the render options (works like image save a copy).
2012-04-24 02:01:23 +00:00
Campbell Barton
b374d9b20f
fix for CcdPhysicsController::RelativeRotate reading 2 values past the input.
...
note: this function isn't used but may as well fix.
2012-04-24 01:52:59 +00:00
Campbell Barton
6f1019e869
add inset and bridge to mesh specials menu (along side bevel) + typo fix.
2012-04-24 01:04:37 +00:00
Campbell Barton
c1c022342c
fix for invalid use of memset when loading tiff images
...
- memset(..., 1.0); // isnt valid
- memset(pointer, sizeof(pointer)) // was using the sizeof the pointer, not the size of the array, since this was to fill in alpha values it was obviously wrong.
2012-04-23 23:57:17 +00:00
Campbell Barton
03f451f2f1
fix own error with subdivision (broke icosphere), also noticed icosphere vanished at subd-5 which didnt happen before bmesh.
2012-04-23 23:01:03 +00:00
Antony Riakiotakis
7cc4353dff
Update knife tool header to reflect that spacebar can be used for confirm too.
2012-04-23 21:04:26 +00:00
Antony Riakiotakis
8b476d0275
First MinGW-w64 support for cmake has been added. To test I recommend this build:
...
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download
Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them.
This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64.
Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup).
Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW.
The wiki docs have also updated. Happy testing!
2012-04-23 20:09:59 +00:00
Campbell Barton
b8c4c54ff0
corrected more issues from [ #31069 ] Analyzing the Blender project with PVS-Studio
2012-04-23 16:29:13 +00:00
Campbell Barton
bfcdd45245
corrections from an article about using PVS-Studio static checker with blender - http://www.viva64.com/en/b/0145/
2012-04-23 15:54:43 +00:00
Sergey Sharybin
9d40c3046b
Fix #31072 : Making texture single user was modifying textures of original material
2012-04-23 15:51:25 +00:00
Campbell Barton
f7a59fd1cf
rip tool again (this in infact an old bug), when selecting an edge to extend the splitting to, dont step over manifold edges. - would result in duplicate edges.
2012-04-23 15:35:07 +00:00
Campbell Barton
cccd4b72e5
fix memory leak in rip tool (again own fault).
2012-04-23 15:26:06 +00:00
Campbell Barton
eff325a98c
minor changes to rip internals
...
- check if vertex ripping has no effect.
- no need to flush selection for vertex rip.
2012-04-23 15:18:12 +00:00
Campbell Barton
cb91c5d7b2
rip was incorrectly giving an error when ripping a vertex from a face fan (own mistake).
2012-04-23 14:57:47 +00:00
Campbell Barton
4c873fec53
bmesh py api: functions to add/renmove customdata layers, eg.
...
bm.loops.layers.color.new("Testing")
2012-04-23 14:52:28 +00:00
Campbell Barton
f665c3cb00
py/rna api: remove selection and pin variable for texture faces - this is now stored in the loops.
2012-04-23 11:36:40 +00:00
Campbell Barton
aa09c5750e
add spacebar to confirm knife cut, space confirms - enter isnt so handy, This is consistent with fly mode and grab.
2012-04-23 11:19:39 +00:00
Sergey Sharybin
de07f51d9b
Merging r45810 through r45876 from trunk into soc-2011-tomato
2012-04-23 10:19:59 +00:00
Campbell Barton
7eaf3eb58e
fix [ #30937 ] Pose UI hack needed to be undone, alternate fix is needed.
...
rather then assigning the enum, default to the active pose when the property isnt set.
2012-04-23 09:17:37 +00:00
Bastien Montagne
b57861e90b
i18n: Re-enabling uk_UA, as we are going to have a nice mo in upcomming update.
2012-04-23 08:24:03 +00:00
Campbell Barton
b9a2741f68
code cleanup: remove unused defines
2012-04-23 08:05:02 +00:00
Campbell Barton
ceffa6e1fa
code cleanup: comment unused functions (removed one which isnt useful anymore).
2012-04-23 07:32:13 +00:00
Campbell Barton
f9ab956d53
py api:
...
bpy.data.scenes.tag() was missing.
2012-04-23 07:26:08 +00:00
Campbell Barton
bb17a6b8f8
fix [ #31064 ] Save confirmation stops showing
...
also comment unused functions.
2012-04-23 06:37:16 +00:00
Campbell Barton
8baa5fbde2
- fix for python freeing its own bmesh clearing the global mirror cache.
...
- fix for own mistake (Ctrl+T didnt set beauty peroperty).
- remove bad level includes in bmesh.
2012-04-23 04:24:11 +00:00
Campbell Barton
b51590d55d
code cleanup: bmesh subdivide code - BM_mesh_esubdivideflag() & "esubd" bmesh operator was passing a flag about in a fairly confusing way.
...
since we will eventually have python bmesh operator access better expose this as multiple booleans.
remove remaining editbutflag's
2012-04-23 03:43:02 +00:00
Campbell Barton
4c4389f6a4
code cleanup: remove editbutflag flag from toolsettings & related defines.
2012-04-23 02:48:05 +00:00
Campbell Barton
792f536b36
code cleanup: better use of BLI_array_* (grow in larger steps where possible), include BMO_iter_new in for loops.
2012-04-23 02:17:57 +00:00
Campbell Barton
16ff7e40e6
code cleanup: change C naming convention (so py and C api match), eg:
...
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-23 01:19:50 +00:00
Campbell Barton
e26ef899c3
clear the FGON edge flag when updating old meshes to polygons. (we may wan't to reuse the flag later)
2012-04-23 00:58:17 +00:00
Campbell Barton
1642e2888c
rename Mesh.uv_loop_layers --> uv_layers
...
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-22 23:51:50 +00:00
Campbell Barton
5c89138684
style cleanup: comments
2012-04-22 11:54:53 +00:00
Campbell Barton
49ff0eeec4
bmesh py api: expose BM_face_split_n() to the python api;
...
face_fill(..., coords=(v1, v2, ...))
This is the same function the knife tool uses. should be handy for dicing up geometry in py.
2012-04-22 10:19:24 +00:00
Campbell Barton
d5023f0e91
correction to py docs from mgschwan on IRC.
2012-04-22 08:36:39 +00:00
Campbell Barton
3508bf1b83
Ctrl+RMB to select an object in editmode didnt work in edge mode (which is not great usability imho and confusing),
...
now pass through if no edges can be tagged and select the object.
2012-04-22 05:30:34 +00:00
Mitchell Stokes
2912314838
Missed this file in my last commit.
2012-04-22 04:01:14 +00:00
Campbell Barton
cd2b142ba0
small speedup to VertDataMulN(av, n), when passed expressions to 'n' they were calculated 3 times, cuts 78 instructions from resulting assembly (gcc -O2).
2012-04-22 03:25:48 +00:00