Commit Graph

25739 Commits

Author SHA1 Message Date
Campbell Barton
8a6f6698d8 bugfix [#23697] New Empty Scene lacks World Settings 2010-09-06 10:25:38 +00:00
Campbell Barton
04b0dcd9e5 - use list append in more places (preferred method since its faster)
- remove some unused include paths
- remove unused linux path define
2010-09-06 10:15:41 +00:00
Janne Karhu
eef3b72c0e Fix for [#22960] UV/Image editor - Back to Previous button 2010-09-06 09:46:34 +00:00
Campbell Barton
594c40e37f bugfix [#23641] enable/disable switch of "Limit" Constraints are inverting 2010-09-06 07:26:21 +00:00
Campbell Barton
a785361b41 bugfix [#23695] SigSegV when deleting camera from multiple scenes via outline pop-up menu 2010-09-06 06:48:19 +00:00
Campbell Barton
b60bc0ee85 display_properties was being re-defined for each keymap item. 2010-09-06 06:04:05 +00:00
Campbell Barton
27fff49335 revert keymap name commit, matt says everything should be '2D View', '3D View...' etc, so for now just go back to what we had.
reverse merge:
 svn merge -r31774:31773 .
2010-09-06 05:40:52 +00:00
Campbell Barton
f96c7ebd9d committed by accident 2010-09-06 05:35:09 +00:00
Campbell Barton
ec1e038453 bugfix [#23552] keymaps big problem 2010-09-06 05:27:54 +00:00
Campbell Barton
0106b00a2a rename '3D View' keymap, since its know as 'View 3D' for other areas of the keymap editor. 2010-09-06 05:20:05 +00:00
Daniel Salazar
eb1a9f070f Report by Dan Eicher (dna). [#23694] ColorRampElement.position typo 2010-09-06 00:33:08 +00:00
Peter Schlaile
a2451f925f This fixes: [#23260] VSE Marking with shortcuts doesn't work 2010-09-05 15:18:45 +00:00
Campbell Barton
04139a115c patch [#23671] [desktop file] add translations and remove deprecated key.
from Cosme Domínguez Díaz (cosme)
2010-09-05 15:15:27 +00:00
Sergey Sharybin
7e23353b08 Fix #23680: Explode with Split Edges over SubSurf - crash
Edge splitting function used CDDM_get_faces to get faces array, which isn't correct
for this case: dm's type is ccgDM. Use dm->getFaceArray instead.
2010-09-05 12:17:35 +00:00
Thomas Dinges
e6f9d3d541 Windows Icons:
* Removed old not used icons.
* Player is using the same icon file as the blender.exe now.
2010-09-05 07:08:21 +00:00
Thomas Dinges
75f8a8a164 Bugfix for [#23571] Blender Desktop Icon does not change size under Vista and Windows 7
* Committing new logo, same design as old one, just larger size, by Alexander Kuznetsov
. Thank you!

Note: Could only test on Vista. But it should also work on XP machines.
Note 2 (to jesterKing, elubie: Vista uses the winblender.ico also for the blend files, it doesn't use the winblenderfile.ico. But I guess Windows XP use that still? 
If not we could remove that, also blenderplayer, is same as blendericon.
2010-09-05 06:31:31 +00:00
Peter Schlaile
e75f037fac This fixes: [#23672] If frame offset is too high the strip jumps forward
when you try to move it.
2010-09-04 20:55:31 +00:00
Arystanbek Dyussenov
979b06f739 Merge -c 31610 (<instance_node> support) from COLLADA branch into trunk. 2010-09-04 19:27:04 +00:00
Thomas Dinges
916a466e15 Bugfix for [#23676] Obj Import fails again. 2010-09-04 11:11:37 +00:00
Nathan Letwory
25af4f12fa Silence warning about BLI_sprintfN 2010-09-04 09:27:21 +00:00
Thomas Dinges
1c7306b045 2.5 Constraints:
*Enable/Disable Checkbox was inverted.
2010-09-03 16:45:33 +00:00
Campbell Barton
31331fb61d error with allocating memory for a new material array (own fault in recent commit) 2010-09-03 16:23:31 +00:00
Campbell Barton
0cf0f5a622 rna api
- move: material.add_texture(tex, coords, mapto) --> material.texture_slots.add()
- added material.texture_slots.create(index), material.texture_slots.clear(index)
- texture slot functions also work for lamp and world now.

Other minor changes
- allow rna functions to set FUNC_NO_SELF and FUNC_USE_SELF_ID at once.
- [#23317] Changed some operators' RNA to accept lengths, a modification I made to this patch made it not work as intended, removed this edit so unit buttons appier in the UI for certain operators.
- Sphinx doc gen, 2 columns rather then 3, didnt quite fit in some cases.
2010-09-03 14:53:54 +00:00
Campbell Barton
52cefa4bc1 sphinx doc gen
- use 3 column lists for inherited props, funcs and for references to save on vertical space.
- use the blender version string for the upload path and PDF name.
2010-09-03 09:21:40 +00:00
Janne Karhu
b0c4b1216d Fix for [#21101] Switch off collision at collision object is not recognised by falling softbody Object
* When removing a modifier that effects the depsgraph the DAG_scene_sort has to be done after the update call so that dynamic systems can clear the collision surface properly.
2010-09-03 07:50:22 +00:00
Janne Karhu
d89d724c46 Fix for [#22387] Collider stickiness seems to have broke
* Note that this fix might slightly change the simulation results of some files that use the stickiness value, but lowering the value should fix these issues.
2010-09-03 07:47:10 +00:00
Campbell Barton
d0c54d3d0e use set as a suffix (matches operators)
- set_frame() --> frame_set()
 - set_context_pointer() --> context_pointer_set()

material adding works for curves and metaballs, new function to remove materials.

materials.link() didnt well fit how this is used elsewhere
 - order matters
 - it can be linked more than once.
 - remove(material), isnt that useful since you need to manage indicies.

... use list style functions instead. materials.append(mat) / materials.pop(index)
2010-09-03 07:25:37 +00:00
Janne Karhu
870469ec0e Fix for [#19950] Object Particles and texture controlled density
* The hair strands that were cut based on the texture weren't properly checked for in the duplication code.
2010-09-03 06:18:23 +00:00
Janne Karhu
9659d47d8b Fix for [#23642] Particle system "Lifetime" setting does not animate 2010-09-03 06:12:40 +00:00
Janne Karhu
1642cb2a80 Fix for [#22147] Particle system, fight boids bug (dead particle) 2010-09-03 05:54:09 +00:00
Janne Karhu
b06abafe7a "Fix" for [#23640] particle system partially indifferent to vertex groups
* Some particle vertex groups haven't yet been reimplemented so commented these out in ui.
2010-09-03 05:48:19 +00:00
Janne Karhu
c4d2586019 Changed the error messages "Can't pack/unpack movie or image sequence." to more descriptive ones "Packing/Unpacking movies or image sequences not supported." as suggested by Brecht. 2010-09-03 05:25:12 +00:00
Nathan Letwory
d5ddc9eadb Fix [#23569] Convex hull bounds crash Blender
Reported by dobz116

This appears to happen only on 64bit Windows. An issue for this part of code was
reported at http://code.google.com/p/bullet/issues/detail?id=204 and fixed at
http://code.google.com/p/bullet/source/detail?r=1650 . The code change also fixes
the crash we experience: merged changes.
2010-09-03 05:18:36 +00:00
Guillermo S. Romero
a8269c8946 SVN maintenance. 2010-09-03 03:30:20 +00:00
Campbell Barton
de7f183f37 script for dumping rna api, to be used to generate api changes for release logs.
added to review function calls too.

output:
# * functions *
KeyConfig.keymaps.find(string name, enum space_type='EMPTY', enum region_type='WINDOW')  -->  KeyMap
KeyConfig.keymaps.find_modal(string name)  -->  KeyMap
KeyConfig.keymaps.new(string name, enum space_type='EMPTY', enum region_type='WINDOW', boolean modal=False)  -->  KeyMap
KeyConfigurations.new(string name)  -->  KeyConfig
KeyConfigurations.remove(KeyConfig keyconfig)

# * properties *
WorldMistSettings.intensity   <--  float
WorldMistSettings.start   <--  float
WorldMistSettings.use_mist   <--  boolean
WorldStarsSettings.average_separation   <--  float
WorldStarsSettings.color_random   <--  float
WorldStarsSettings.distance_min   <--  float
WorldStarsSettings.size   <--  float
WorldStarsSettings.use_stars   <--  boolean
2010-09-03 02:26:42 +00:00
Nathan Letwory
e03437a34a Fix [#23638] Missing directory creation
Reported and patched by Mariusz Maximus

I overlooked this one while fixing up for win64 compiling, because I had already manually created this directory.
2010-09-02 22:04:33 +00:00
Nathan Letwory
d372fc178c Fix [#23578] Blender crashes when Audio Scrubbing is on
Reported by Guy Smith.

MSVC-compiled code would fall over iterator decrease on empty list. Shortest snippet to redo: http://www.pasteall.org/15408/cpp
See also http://www.pasteall.org/15409/cpp for list.end() behaviour on MSVC. Thanks to Jörg Müller for assistance.
2010-09-02 21:56:08 +00:00
Campbell Barton
d8d3cc69ef patch from venomgfx, show number of textures assigned to lamps and world in the context panel 2010-09-02 18:13:06 +00:00
Campbell Barton
0d12c77097 bugfix [#23635] property limits don't work when added via scripting\
also fix for bug where soft limits could be greater then hard limits with bpy.props.* functions.
2010-09-02 14:43:22 +00:00
Campbell Barton
4e9162cd63 revert own commit which changed weight range, the set weight operator is for the goal weight, not the nurbs weight. 2010-09-02 10:56:50 +00:00
Janne Karhu
f611fa80af Fix for [#23298] Kill particle breaks when baking simulation
* Cached particle die times are now read from cached data
2010-09-02 10:26:19 +00:00
Janne Karhu
2e61c4be9b Possible fix for [#23334] Particle Mode - Weight editing crashes if large number of particles OR you have added in Particle Mode 2010-09-02 09:11:40 +00:00
Janne Karhu
5db18d474f "Fix" for [#23621] lattice modifier on particle hair when applied doesn't apply it to the hair
* Although not strictly a bug it is the expected behavior and won't mess anything else up.
* Note: the lattice is applied to the actual hair keys instead of the calculated strands so the applied result will differ a bit from the original.
2010-09-02 08:06:53 +00:00
Janne Karhu
18954a711f Fix for [#22329] Particles won't render when display mode is different 2010-09-02 07:24:38 +00:00
Campbell Barton
b2ae9d825c - inconsistent rna names - use 'vertex_group_' as prefix, only ui scripts used this
- change curve offset to be 0.0 for its rest/default value (not 1.0)
2010-09-02 07:00:34 +00:00
Janne Karhu
35535c2cb9 Fix for [#23136] Particle display percentage "forgotten" after render
* The actual problem was that the total amount of particles was rendered at all, since only the displayed percentage was calculated correctly.
* New behavior is that before baking (baking is always done for full % of particles) the display % is used for rendering too for dynamic particles.
* Also added a warning below the display % slider to inform about the situation.
2010-09-02 06:58:54 +00:00
Campbell Barton
ad0a176a22 - new subclass for ID-Property based collections - this way add/remove/move functions will only be shown for types that support it.
- moved array attributes into array properties - saves 8 bytes per allocated non-array property.
2010-09-02 06:35:00 +00:00
Janne Karhu
d172001cee [#23462] Hair display affects rendered quantity 2010-09-02 05:51:02 +00:00
Janne Karhu
b75eeac6bd Fix for [#23274] curve guide force particles to born at the wolrd's origine
* Particle emitter location wasn't taken into account properly
2010-09-02 05:37:54 +00:00
Campbell Barton
ddbfb05c84 rna context rename
* context.main & bpy.types.Main --> context.blend_data & bpy.types.BlendData
* context.manager --> context.window_manager
2010-09-02 04:53:05 +00:00