Campbell Barton
c2ede58d68
fix [ #31083 ] "Hide Selected" through Menu Operation doesn't work well
2012-04-24 17:50:01 +00:00
Antony Riakiotakis
75addcf233
Lower optimization settings for MinGW-w64. Full optimization causes artifacts with empties and gods know what else. Turned on -ftree-vectorize to match MSVC behaviour for 64bit.
2012-04-24 17:20:51 +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
791933b9a7
remove leftover files from last commit
2012-04-24 16:23:47 +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
Antony Riakiotakis
749d284b49
MinGW-w64 enable full optimization for C++ too
2012-04-24 14:51:23 +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
Erwin Coumans
782cf3f844
Peer pressure :) Fix some very public (but probably harmless) errors in extern/bullet2, it will propagate to the Bullet soon from here:
...
https://www.assembla.com/code/bullet3/subversion/nodes
Thanks to Campbell for letting me know
Fixed described by Sean here:
http://stackoverflow.com/questions/818535/how-can-i-set-all-bits-to-1-in-a-binary-number-of-an-unknown-size
2012-04-24 05:28:19 +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
6859537679
Enable support for OpenEXR on cmake for MinGW64
2012-04-23 22:56:34 +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
Brecht Van Lommel
95432a2a2b
Fix #31065 : cycles render crash with large node groups, increased the stack
...
size now, this seems to work well after some testing.
Fix: material override not working on objects without a material assigned.
2012-04-23 18:15:38 +00:00
Daniel Genrich
fb6ee37aa2
corrected more issues from [ #31069 ] Analyzing the Blender project with PVS-Studio.
...
Remark: I think that "!(nbored & CFBnd)" would be correct but it introduced other bugs so, I just quiet compiler warnings leaving the running system untouched.
2012-04-23 17:33:12 +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
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
Antony Riakiotakis
c498c0eb42
Update build files to use the new lib locations for MinGW. For builders: you will need to checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/mingw32/
...
to build with MinGW past this commit.
2012-04-23 01:11:42 +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
a1b9608ddd
add mesh example with docs explaining polygon / loop relationship
2012-04-23 00:20:32 +00:00