Campbell Barton
51cbfb3961
fix [ #28883 ] redraw problems for particle mode's brush menu
...
The enum items for getting the brush tool (which the UI draws), would change after the 3D view first draws on exiting editmode.
Since the panel draws before the 3D view does, the UI had a glitch.
Fix by using psys_get_current() for the enum, rather then PE_get_current() which depends on an updated particle system.
2011-10-12 01:36:06 +00:00
Campbell Barton
18b9a2d0bc
fix [ #28880 ] relative paths don't work with Change Path/Files
2011-10-12 00:21:08 +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
4bfee0a1cf
fix [ #28879 ] can't change names of some of the VSE strips
...
Multi-Cam, Sound, Movie and Image strips were not showing strip names.
also replace sprintf() with safer BLI_snprintf()
2011-10-11 23:52:45 +00:00
Campbell Barton
4750f24663
fix for crash caused by invalid active material index while editing text.
...
also added some better error checking in object_remove_material_slot() so it will print an error rather then crashing if this case ever happens again.
2011-10-11 23:08:17 +00:00
Brecht Van Lommel
1997cba227
Fix crash drawing waveform with zero length sound, found looking into sound reading bug.
2011-10-11 14:53:27 +00:00
Campbell Barton
79f21f88c2
fix for drag-n-drop ID's for renaming (own fault when fixing #24016 )
2011-10-11 10:59:52 +00:00
Dalai Felinto
435a0ccda7
Adding FA (Persian - Farsi) language to po + flipping Arabic name in the Language Enum
2011-10-11 05:52:58 +00:00
Campbell Barton
93e4de7552
fix for py/rna assigning an invalid index. also give better error message in this case.
2011-10-11 05:45:59 +00:00
Campbell Barton
85a2280c86
fix for crash in BLI_join_dirfile() when the dir is longer then the target string.
...
starting blender in a dir longer then 240 chars would crash.
2011-10-11 05:21:24 +00:00
Xiao Xiangquan
45ad9faf34
Handle "Open Recent..."
2011-10-11 05:02:45 +00:00
Campbell Barton
fa5275cdfa
- bpy.path.abspath(), added optional library argument since any paths from linked datablocks are relative to this, not the blend files path, this saves kludgy path code wherever libraries may be used.
...
- Image "Edit Externally" operator can now edit relative library images.
also minor edits to navmesh.
2011-10-11 04:09:11 +00:00
Campbell Barton
e8bcccae33
create navmesh operator would crash on non-mesh objects, add type check and report if no mesh objects are selected.
2011-10-10 22:06:07 +00:00
Sergey Sharybin
21a755b4f5
Fix #28857 : 2.60 rc1 regression?
...
If displacement mapping is used, normals shouldn't be flipped.
2011-10-10 14:32:08 +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
Sergey Sharybin
92c4fe8713
Revert "Fix #28863 : Inconsistent UI inside of the UV/ImageEditor window"
...
This reverts commit 40899 due to UI department feedback.
2011-10-10 10:35:18 +00:00
Campbell Barton
ac1e737aa8
correct operator name from my own recent changes and edit navmesh rna prop name for consistency
2011-10-10 10:24:26 +00:00
Campbell Barton
54adf3de62
fix bad svn ID tags
2011-10-10 09:44:14 +00:00
Campbell Barton
bc40f11093
header cleanup (no functional changes)
2011-10-10 09:38:02 +00:00
Bastien Montagne
1c0ff6109d
Now append/link will start at current blend file directory, if available (lastest used lib keeps priority).
2011-10-10 08:25:28 +00:00
Campbell Barton
317d11214e
add in empty modifier slot so dynamic paint files don't break.
2011-10-10 07:50:39 +00:00
Sergey Sharybin
849c64dc50
Fix #28863 : Inconsistent UI inside of the UV/ImageEditor window
...
Make panels which are on left be toggled by T, and which are on right by N.
2011-10-10 07:40:44 +00:00
Campbell Barton
2de1bd7dc5
updates to navmesh
...
- 2 new navmesh operators, reset and clear navmesh data.
- rename operators to be more consistent with existing names.
- some minor edits to draw function, was getting the custom data for every index when it already had the array.
2011-10-10 07:21:42 +00:00
Campbell Barton
70cd4b77bb
edit error macro formatting (confuses some editors)
2011-10-10 07:10:53 +00:00
Campbell Barton
aa3b531839
fix for using uninitialized stack memory in mesh_foreachScreenFace__mapFunc(), used for face selection.
2011-10-10 06:56:28 +00:00
Campbell Barton
f0cd9f987d
- for some reason navmesh wasnt drawing when VBO was enabled.
...
- fix navmesh crash (may well have been from own changes)
- changing VBO's now redraws all windows - useful for checking if VBO draws differently.
2011-10-10 02:56:26 +00:00
Campbell Barton
bdd7c2d3f4
fix documentation error - [ #28862 ] Method 'difference' doesn't exist in Quaternion object.
2011-10-10 01:14:49 +00:00
Campbell Barton
f6cd962df7
bug #28848 also mentions Ctrl+Backspace isnt working.
...
added support for ctrl+backspace/delete.
2011-10-10 01:11:40 +00:00
Campbell Barton
a0469c7030
fix [ #28860 ] CRASH loading scene
...
Sequence strips with missing scenes were missing a NULL check.
2011-10-10 00:38:32 +00:00
Campbell Barton
5699014440
add 3 PLY and STL export tests.
2011-10-10 00:29:23 +00:00
Campbell Barton
7b3ea6cc2c
mesh VBO drawing code was swapping red/blue vertex colors - this is confusing because MCol.r is blue and MCol.b is red but not excuse! (and how come nobody noticed this?).
...
- fixed this error in 4 places.
2011-10-10 00:01:44 +00:00
Campbell Barton
39c4e3ae3c
fix for editmode opengl drawing (bug from own recent optimization), need to set glShadeModel() outside glBegin(GL_QUADS / GL_TRIANGLES).
2011-10-09 23:04:31 +00:00
Campbell Barton
17b66b46ad
fix crash for recent navmesh edits when setting a non-mesh object to a navmesh.
...
also minor cleanup.
2011-10-09 21:43:13 +00:00
Campbell Barton
7306eb84f0
move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
2011-10-09 21:11:51 +00:00
Campbell Barton
f19022f8e0
increase the hit radius for vertex selection in weight paint mode - increased to 50 (same as editmode), was 3.
2011-10-09 08:39:38 +00:00
Campbell Barton
8714fb7019
replace sprintf with strcpy where no formatting is done and return value isn't used.
2011-10-09 06:03:38 +00:00
Campbell Barton
6778f7ae05
clear some warnings.
2011-10-09 04:11:18 +00:00
Campbell Barton
e60a7fbc57
correction to RNA class api references (only used for docs)
2011-10-09 02:24:51 +00:00
Campbell Barton
ee8078fb12
fix for BUILTIN_KSI_WholeCharacter keying custom string/collection/group properties
2011-10-09 02:11:43 +00:00
Campbell Barton
a378668ac2
text edit: selecting zoomed in text with the mouse had an incorrect offset.
2011-10-09 01:11:07 +00:00
Campbell Barton
e50a485836
text editing: make jumping left/right both act the same way (was skipping an extra char when jumping left).
2011-10-09 00:54:41 +00:00
Campbell Barton
db4b3742a1
button text editing: home/end were not moving the cursor position, only the selecton.
2011-10-09 00:45:26 +00:00
Campbell Barton
a016fdd499
fix [ #28848 ] Editing object name (e.g.), Ctrl-Shift-Arrows don't work as Ctrl-Arrows.
2011-10-09 00:35:31 +00:00
Campbell Barton
35fedac565
fix [ #28821 ] Whole Character keying set ignores non animatable propertyflag
2011-10-08 12:27:52 +00:00
Campbell Barton
21eb8b92a0
use newly added ID_BLEND_PATH() in more places.
2011-10-08 11:11:54 +00:00
Campbell Barton
011a3645bf
fix [ #28846 ] Relative paths on linked scene fails
2011-10-08 11:02:58 +00:00
Thomas Dinges
8c229c060d
Patch [ #28660 ] x64 thumbnail handler not being installed in CMake builds by Tom Edwards.
2011-10-07 18:25:54 +00:00
Dalai Felinto
aac598303b
Scene.GameData DNA alignment nitpicking
...
* "structures are always multiples of 8 bytes in size" (adding two pads for RecastData)
removing some unecessary pads. Moving others to make pad counting easy.
(although this patch is not highly needed in trunk it will help cucumber merging)
This could probably fixed the problem address at rev.40084
2011-10-07 05:19:21 +00:00
Campbell Barton
47253d0a2c
fix for own bad mistake, broke vector curve handles.
2011-10-07 00:26:04 +00:00
Campbell Barton
cfb154ca58
fix [ #28800 ] Scene NULL in frame change callback, crashes on property update.
2011-10-07 00:08:40 +00:00