Commit Graph

21773 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Guillermo S. Romero
a8269c8946 SVN maintenance. 2010-09-03 03:30:20 +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
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
Nathan Letwory
6e1e638313 Fix [#23613] Align active camera to view vs toggle camera acts odd
Reported by Reiner Prokein

After aligning active camera toggling between last view and camera worked wrong in such a way that the view previous to the one to which was aligned was rotated to. In some cases rotation to last view seemed incomplete and ortho was used. Thanks to M.G. Kishalmi (lmg) for showing through a Skype screen share.

This is now fixed by copying the current view info before active camera is aligned.
2010-09-02 00:24:33 +00:00
Thomas Dinges
4ddc61643a Renaming of Cylindric objects after a good proposal by Conz:
http://www.vrchannel.de/blender/cylinder_rename.png

Mesh Tube > Mesh Cylinder
NURBS Tube > NURBS Cylinder
Metaball Cylinder > Metaball Capsule

I know that naming is something not everyone agrees on, but these terms look geometrically correct.
2010-09-01 21:11:33 +00:00
Thomas Dinges
dda1db08ee Spell fix, reported by troy_s in IRC. 2010-09-01 21:06:25 +00:00
Ken Hughes
c4895719af Fix "no newline at end of file" warnings in *nix. 2010-09-01 21:02:27 +00:00
Thomas Dinges
bd79d80b8a Internal Code Renaming:
Donut > Torus
2010-09-01 20:18:31 +00:00
Guillermo S. Romero
1c4b6ff334 SVN maintenance. 2010-09-01 19:39:37 +00:00
Sergey Sharybin
3c90ce6725 Send NC_SCENE|ND_TOOLSETTINGS notifier when select mode was forced to edge select
in loop cut operator. Header buttons have "delayed" update without this notifier.
2010-09-01 17:03:31 +00:00
Campbell Barton
70ec45d757 have rna function obj.as_pointer() return a memory address rather then a PyCapsule object.
this can be passed to ctypes.c_void_p(bpy.context.object.as_pointer())
2010-09-01 15:25:22 +00:00
Campbell Barton
39cb1432d8 bugfix [#23285] Exporters not available whel using special characters in path name
- ID properties now suopport non utf-8 strings for their values but not their keys.
- moved utility functions into py_capi_utils.c from bpy_utils and bpy_rna.
- import/export paths have to be printed with repr() or %r, so non utf-8 chars are escaped.
2010-09-01 14:13:48 +00:00
Matt Ebb
b49bd51bc8 Quicky - allow dragging an image on a 3d view background
to set it as the background image. Dragging on an object still 
sets it to face-mapped texture.
2010-09-01 13:41:53 +00:00
Campbell Barton
7532bc2325 poll function for py api operator access
eg:
 if bpy.ops.object.mode_set.poll():
     ...
2010-09-01 11:16:11 +00:00