Campbell Barton
4b635d1631
use generic path remapping when making all library data local, previously only image paths were getting corrected, now all paths will (scene image seq strips, pointcache etc)
2011-10-28 04:44:59 +00:00
Campbell Barton
592879bfca
prefix common internal operator function names so its possible to assign them breakpoints.
2011-10-28 03:02:09 +00:00
Campbell Barton
75e570b2b7
svn merge -r41287:41310 ^/trunk/blender note, mirror modifier had slow, per vertex name flipping, replaced with flip_map from trunk
2011-10-27 09:42:03 +00:00
Campbell Barton
99075b35ed
fix [ #29044 ] applying mirror modifier causes crash; something with vertex groups?
2011-10-27 07:54:32 +00:00
Campbell Barton
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
Campbell Barton
70bf00a74c
svn merge ^/trunk/blender -r41200:41226 .
2011-10-24 08:45:55 +00:00
Campbell Barton
0503a4f7a6
svn merge ^/trunk/blender -r41100:41150
2011-10-24 04:18:28 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
e58eb5db6f
use defines for keying set names to avoid confusing them with text and having some incorrect names (as fixed in last commit)
2011-10-23 05:08:02 +00:00
Bastien Montagne
daf51fe6cd
A big set of UI messages fixes and tweaks! No functional changes.
2011-10-20 07:56:04 +00:00
Campbell Barton
5cf593a778
strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known.
2011-10-19 23:10:54 +00:00
Campbell Barton
861ba1bb53
added missing call to re-tesselate on mesh conversion (Alt+C).
2011-10-18 11:28:39 +00:00
Campbell Barton
4e118bb22f
svn merge ^/trunk/blender -r40890:40950
2011-10-14 01:35:20 +00:00
Campbell Barton
15bf56c696
changes to relative path option
...
- initialize the relative_path option in ED_fileselect_get_params(), saves initializing within every operators own init functions, some even trying to initialize a non existing property.
- don't set the operator default from the user preferece, operator property defaults should be static else python scripts for eg can get different defaults depending on user settings, this also wont get updated when user-defaults are edited so generally confusing & not good practice.
2011-10-12 00:15:19 +00:00
Campbell Barton
90b3bd84da
fix [ #28850 ] With "Auto-keyframe" on, the "Selection to Cursor" option doesn't create keyframe.
2011-10-10 12:56:21 +00:00
Campbell Barton
aa6d7ebd14
svn merge ^/trunk/blender -r40720:40872
2011-10-09 07:31:15 +00:00
Campbell Barton
011a3645bf
fix [ #28846 ] Relative paths on linked scene fails
2011-10-08 11:02:58 +00:00
Sergey Sharybin
839cc86872
Fix #28805 : Add mesh, align to view, un check align to view. not updating.
...
Re-set rotation property when "Lock to View" property changes.
This makes proper updates without breaking behavior.
2011-10-06 12:51:33 +00:00
Campbell Barton
3b996ac1b3
add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some comparing range, some using ELEM#(), once was missing metaball check.
2011-10-03 17:29:43 +00:00
Bastien Montagne
90b38eaa0c
Minor: Other UI strings typos and tweaks. Also updated french po & mo.
2011-10-02 08:46:46 +00:00
Campbell Barton
4a157de23d
svn merge ^/trunk/blender -r40587:40643
2011-09-28 07:34:48 +00:00
Campbell Barton
018fa1540e
whitespace edits, make formatting for functions consustent at least within the file.
2011-09-28 05:53:40 +00:00
Sergey Sharybin
dcccf3fc1f
navmesh: solve bad level calls to edit mesh functions
...
Move navmesh operators from editors/object to editors/mesh
2011-09-27 09:09:52 +00:00
Sergey Sharybin
a25c7f647e
navmesh: convert object_navmesh.cpp to plain c.
2011-09-27 09:09:43 +00:00
Campbell Barton
effea8c29b
svn merge ^/trunk/blender -r40511:40587
2011-09-27 03:12:31 +00:00
Bastien Montagne
3cff99c9a1
Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings.
2011-09-26 13:24:42 +00:00
Campbell Barton
4779b162ac
fix for missing memfree with raddish merge, copy over changes from trunk for switching mode - Ctrl+Tab wasnt setting weight paint.
2011-09-24 11:42:11 +00:00
Campbell Barton
9494340dae
svn merge ^/trunk/blender -r40432:40491
2011-09-23 13:04:01 +00:00
Campbell Barton
7126a4699e
svn merge ^/trunk/blender -r40367:40368 --- raddish weight paint merge
2011-09-22 16:09:27 +00:00
Brecht Van Lommel
dd7f52defa
Fix #28365 : some macro operators were missing descriptions.
2011-09-22 15:35:25 +00:00
Campbell Barton
a20bcb4613
clear up some warnings.
2011-09-22 14:42:29 +00:00
Campbell Barton
dc09774fb6
use bli math functions for vgroup_fix operator.
2011-09-22 05:05:26 +00:00
Campbell Barton
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
Campbell Barton
14475d07cd
svn merge -r40295:40367 ^/trunk/blender
2011-09-21 17:15:54 +00:00
Jason Hays
2cbf475fb2
Merged 40338-40364
2011-09-19 15:36:30 +00:00
Bastien Montagne
f157a543c6
/blender/editors: Removed final points in UI strings and messages.
...
Plus a few cuts in very long lines…
2011-09-19 12:26:20 +00:00
Sergey Sharybin
dd204cb9f7
Fix for add hook/vertex parent for meshes
...
The only way to achieve this is to re-load editMesh.
After this commit you can't iterate through vertices and insert
hooks/parents from script anymore -- this operators are now
treated as topology-changing and shouldn't be used when iterating
via geometries.
2011-09-19 08:25:31 +00:00
Campbell Barton
a89b253aa6
edits to radish before merge with trunk
...
- removed some unused functions.
- renamed vars to make more sense paint_vertex.c 'flags' --> 'lock_flags'
- some odd modifications were made in unrealted, commented code, copy these back from trunk.
- rename vertex_group_fix 'cp' property to 'accuracy'
- make style more consistant with trunk.
- remove 'Radish' comments.
2011-09-19 02:43:03 +00:00
Jason Hays
73863a1da5
Split do_weight_paint_vertex() to isolate the simple case.
...
Added a tool-tip to the "fix deforms" op.
Removed code markers:
"Radish"
2011-09-18 17:10:28 +00:00
Jason Hays
a9c99f58f4
Changed the branch code markers to say "Radish" in response to a review.
...
They weren't & aren't meant to show ownership, they just help me navigate my related code.
2011-09-18 03:49:00 +00:00
Campbell Barton
96ada15d79
svn merge -r40197:40311 ^/trunk/blender
2011-09-18 02:35:26 +00:00
Jason Hays
1b5d16f1bf
I made multitude of fixes based on the comments provided online:
...
Removed the drawSelectedVerts and added drawSelectedVertices, which uses dm->foreachMappedVert.
In calc_weightpaint_vert_color():
Made the weight paint color black and return instead of input=-1
Made the pose bone selection normal when multi-paint is inactive.
Name fix for functions using mv instead of mvert.
Used vector functions provided by the math lib.
Changed some MEM_callocN references to be stacks.
Changed dm_deform_clear to use ob->derivedDeform primarily
Made the variable "float **changes" into "float (*changes)[2]"
Used CTX_data_active_object() in place of CTX_data_pointer_get_type()
Added the invert selection hotkey "Ctrl+I" to weight paint's vertex mask.
2011-09-18 01:09:18 +00:00
Campbell Barton
1ff373ef5b
svn merge -r40166:40279 ^/trunk/blender
2011-09-17 04:59:14 +00:00
Campbell Barton
d87fcb0760
- fix for memory leak in findFreeNavPolyIndex()
...
- also correct own script for running cppcheck.
2011-09-16 14:02:44 +00:00
Campbell Barton
0abe1911d5
- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)
...
- remove redundant NULL checks on old code where it would crash if the result was NULL later on.
- add some missing NULL checks.
2011-09-16 06:47:01 +00:00
Campbell Barton
a31869f267
some picky rna/variable renaming:
...
Mesh.wp_vert_sel --> use_paint_mask_vertex
2011-09-14 08:45:12 +00:00
Campbell Barton
df433c7a1d
- move vgroup lock buttons on the panel into the vgroup specials menu.
...
- merge object.vertex_group_lock_all / object.vertex_group_invert_locks / "object.vertex_group_unlock_all into one operator.
- change lock button from a checkbox to a lock icon.
2011-09-14 08:21:21 +00:00
Campbell Barton
86777f46e1
- use a flag define for bDeformGroup->flag rather than setting TRUE/FALSE
...
- rename RNA bDeformGroup.flag to "lock_weight"
2011-09-14 07:07:17 +00:00
Campbell Barton
4c99d83b56
another cleanup pass, quiet all warnings for GCC
...
- comment unused funcs/vars.
- replace some allocs with stack variables.
- use BLI_math functions to replace in-line vector math.
2011-09-14 05:25:43 +00:00
Campbell Barton
c3a718702f
svn merge -r40195:40197 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-14 01:54:04 +00:00