Commit Graph

38 Commits

Author SHA1 Message Date
f1ddf99580 Fix T42859 smart UV unwrap does not support aspect correction.
Can be considered TODO but it's not bad to support either. Also added
RNA api to get aspect ratio of assigned UV image - returns aspect
corrected image dimensions so needs adjustments for uv editing.
2014-12-11 19:46:35 +01:00
b2b1d8e290 Cleanup: remove redundant 'object' parent class 2014-10-28 18:42:06 +01:00
dd5acaaa6c Correct Python exceptions
T35358 by Codemanx
2014-08-07 00:44:55 +10:00
b8ea2e73d2 Smart UV Project: don't rotate islands which are almost square 2014-04-25 03:13:35 +10:00
0ebade55fc Fix T37509: regression in smart-uv island orientation 2014-04-03 22:03:53 +11:00
22873eaeba Fix T31598: smart UV failed for small faces
previous fixes only tweaked epsilon, but logic for skipping zero area
boxes was still wrong.
2014-03-18 01:34:14 +11:00
e781ea79b2 UV Unwrap: smart uv unwrap would fail still on some very small faces 2014-01-08 14:03:36 +11:00
2f6c748bb9 fix [#36020] SmartUV Project is messy on a cube
was using very simple/stupid check to rotate us islands, replace with box_fit_2d() function.

missed docstring last commit.
2013-09-11 07:10:15 +00:00
858ff6b696 Fix for [#34898] Typo in error message of mathutils.Vector
* Also fixed some more cases of "more then" -> "more than".
2013-04-07 15:09:06 +00:00
0b9be70591 typo's and some style cleanup, also added asserts into BLI_vsnprintf and BLI_sprintfN when invalid args are given. 2012-11-28 06:43:04 +00:00
c2714a6a5b fix [#31598] Messed up Smart UVs
face areas were too close to zero. also copy the face normal to avoid recalculations on each use.
2012-11-26 11:53:34 +00:00
7c3db355b1 remove ifdef'd bevel code, current bevel works better then the previous code.
reduce strlen check in texttool_suggest_add()
use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists.
2012-11-14 09:45:15 +00:00
2a140e93c1 style cleanup 2012-07-04 21:41:05 +00:00
63810ffcef Style edit (mostly), use """ for docstrings (not ''').
Should also fix the broken py ops tips...
2012-07-03 09:02:41 +00:00
98e6912480 style cleanup 2012-06-19 22:17:19 +00:00
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
1cf0358a33 bmesh todo: vertex dirtmap now working again.
also renamed Polygon helper property from 'loops' to loop_indices
2012-04-13 08:41:30 +00:00
49adbe3ab8 Various fixes to UI messages (among other things, all messages needed it should now be capitalized). 2012-02-27 18:14:56 +00:00
19d0f93099 svn merge ^/trunk/blender -r43934:43976 2012-02-08 05:45:16 +00:00
1f74789d12 Correct mathutils documentation, also correct some python spelling errors and add makefile target check_spelling 2012-02-08 04:37:37 +00:00
4ced91da47 svn merge ^/trunk/blender -r42778:42839 2011-12-23 08:41:53 +00:00
e7fb276e29 picky edits - use "" for non enum strings. 2011-12-22 03:56:21 +00:00
1038c76c55 Add access to UVs from python, patch python unwrap scripts to work wtih ngons 2011-11-17 05:03:07 +00:00
f086201518 cmake & pep8 tidy up, also some style edits.
remove unneeded collection length function.
2011-11-08 01:32:34 +00:00
4a04f72069 remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
fda2045150 correct spelling errors in comments 2011-10-17 06:58:07 +00:00
f1a227cf43 check that descriptions dont end with a '.', for non release builds.
this is annoying for translators so rather then correct along the way which gives merge conflicts for branches - print a complaint message.
2011-09-21 17:52:51 +00:00
712e434a5f /release/scripts: Removed final points in UI strings and messages. 2011-09-19 14:00:42 +00:00
1324173e99 pep8 edits and change '!= None' to 'is not None' 2011-08-22 09:01:49 +00:00
90d19ad883 py style change only - make property definitions consistent 2011-08-19 19:25:20 +00:00
65ca89180a fix [#28227] join_uv and bake work wrong
added back ability to unwrap all selected mesh objects.
2011-08-15 16:25:05 +00:00
b374ab919a import common classes from bpy.types, saves ~1000 python getattrs on startup. 2011-08-12 06:57:00 +00:00
ced8f1dffc deprecate multiplication orders:
vector * matrix
 vector *= matrix
 vector * quaternion
 vector *= quaternion 

Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-25 01:44:19 +00:00
ce00a32f05 fix [#27996] Smart UV Unwrap Still Results in Overlaps
real fix this time :S, I thought using old code from 2.4x would fix but quaternion needed to be inverted.
2011-07-18 06:44:41 +00:00
b4682414c2 fix [#27787] Smart UV Unwrap Results in Overlaps
added optional face area weighting (from 2.4x) since this can result in overlapping faces.
2011-06-28 06:51:55 +00:00
fd60b73b7b fix [#27742] Smart UV project no longer works in 2.58
failed with active, unselected objects.
2011-06-24 04:12:01 +00:00
eaae38551f pep8 compliance 2011-06-21 17:17:51 +00:00
2e6a02438e move script directories for internal blender scripts.
ui/ --> startup/bl_ui
op/ --> startup/bl_operators

scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too.

~/.blender/2.56/scripts/startup works for auto-loading scripts too.
2011-03-21 12:35:49 +00:00