Commit Graph

25112 Commits

Author SHA1 Message Date
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
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
1997cba227 Fix crash drawing waveform with zero length sound, found looking into sound reading bug. 2011-10-11 14:53:27 +00:00
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
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
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
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
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
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
90b3bd84da fix [#28850] With "Auto-keyframe" on, the "Selection to Cursor" option doesn't create keyframe. 2011-10-10 12:56:21 +00:00
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
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
54adf3de62 fix bad svn ID tags 2011-10-10 09:44:14 +00:00
bc40f11093 header cleanup (no functional changes) 2011-10-10 09:38:02 +00:00
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
317d11214e add in empty modifier slot so dynamic paint files don't break. 2011-10-10 07:50:39 +00:00
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
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
70cd4b77bb edit error macro formatting (confuses some editors) 2011-10-10 07:10:53 +00:00
aa3b531839 fix for using uninitialized stack memory in mesh_foreachScreenFace__mapFunc(), used for face selection. 2011-10-10 06:56:28 +00:00
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
bdd7c2d3f4 fix documentation error - [#28862] Method 'difference' doesn't exist in Quaternion object. 2011-10-10 01:14:49 +00:00
f6cd962df7 bug #28848 also mentions Ctrl+Backspace isnt working.
added support for ctrl+backspace/delete.
2011-10-10 01:11:40 +00:00
a0469c7030 fix [#28860] CRASH loading scene
Sequence strips with missing scenes were missing a NULL check.
2011-10-10 00:38:32 +00:00
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
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
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
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
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
8714fb7019 replace sprintf with strcpy where no formatting is done and return value isn't used. 2011-10-09 06:03:38 +00:00
e60a7fbc57 correction to RNA class api references (only used for docs) 2011-10-09 02:24:51 +00:00
ee8078fb12 fix for BUILTIN_KSI_WholeCharacter keying custom string/collection/group properties 2011-10-09 02:11:43 +00:00
a378668ac2 text edit: selecting zoomed in text with the mouse had an incorrect offset. 2011-10-09 01:11:07 +00:00
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
db4b3742a1 button text editing: home/end were not moving the cursor position, only the selecton. 2011-10-09 00:45:26 +00:00
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
35fedac565 fix [#28821] Whole Character keying set ignores non animatable propertyflag 2011-10-08 12:27:52 +00:00
21eb8b92a0 use newly added ID_BLEND_PATH() in more places. 2011-10-08 11:11:54 +00:00
011a3645bf fix [#28846] Relative paths on linked scene fails 2011-10-08 11:02:58 +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
47253d0a2c fix for own bad mistake, broke vector curve handles. 2011-10-07 00:26:04 +00:00
cfb154ca58 fix [#28800] Scene NULL in frame change callback, crashes on property update. 2011-10-07 00:08:40 +00:00
16ee427576 rna_ParticleDupliWeight_name_length was returning an incorrect value. Zealous debug checks are testing the (buf[len] == '\0') 2011-10-06 23:16:12 +00:00
c27926896f spaces -> tabs (whitespace only changes) 2011-10-06 22:04:01 +00:00
b871618116 Fix #28819: Normal Maps appear inverted in GLSL shader and offline renderer (2.6rc1)
Caused by recent bump maps flip commit.
If texture is used as Normal Map it's normal factor shouldn't be flipped.
2011-10-06 14:55:30 +00:00
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
8cfc183f84 hide 3d view header use_pivot_point_align button in editmode since its not used there, also remove unneeded copy() funcs from quick effects. 2011-10-06 10:06:53 +00:00
Dalai Felinto
be143cc037 texface fix: if material is not used by mesh set default bge mat flag (backface culling on)
report by Mitchell Stokes over IRC, but probably one of the reason people have been asking
to expose the Game Settings material panel in the Render engine as well.
2011-10-06 06:56:45 +00:00