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
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
Joerg Mueller
dd4aecb97a
Audaspace: Removing an unneeded function.
2010-09-01 20:33:26 +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
Nathan Letwory
da31d2628e
Fix [ #23612 ] OBJ import with imports double textures
...
Reported by Reiner Prokein
A .obj file can have multiple mtllib statements with the same name. Ensure that only one occurance is saved, so we don't get multiple entries from same material.
Also fix tabs -> spaces
2010-09-01 14:49:34 +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
Nathan Letwory
81d9a3de43
* add missing imports
...
* fix indentation: tabs -> spaces
2010-09-01 13:55:41 +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
a89c526a92
finished moving importers and exporters into python packages (as proposed on the mailing list).
...
- made operator dir's into python packages
- lazy loading of module which do the actual import and export (faster blender load times)
- general maintanance and small fixes.
- bugfix for exporting x3d materials
- leak fix for exporting 3ds
2010-09-01 12:11:34 +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
Janne Karhu
4a427fa4ff
Particle billboards weren't created properly
2010-09-01 10:29:03 +00:00
Janne Karhu
e50bdef683
Fix for [ #23596 ] Particle Harmonics cache problem
...
* Non-dynamic particles weren't reset properly because they don't use pointcache
2010-09-01 09:47:19 +00:00
Benoit Bolsee
e5b9ad3817
Added missing ID_NEW() in set_sca_new_poins_ob() as pointed out by Dalai.
2010-09-01 08:09:23 +00:00
Nathan Letwory
94d4ff6423
remove debug prints
2010-09-01 06:51:20 +00:00
Nathan Letwory
5241c27594
Python library copying hack.
...
When creating project files the multi-configuration generator is used. CMAKE_BUILD_TYPE is then not set, so always release libs were copied.
For now copy both release and debug.
2010-09-01 06:19:38 +00:00
Nathan Letwory
3de9aa38cd
* Don't use /ZI when 64bit building on Windows. Use /Zi instead.
...
* Copy files to ${BLENDER_VERSION} instead of .blender/
* Don't try to copy iconv.dll when 64bit building on Windows - it is static for 64bit.
2010-09-01 05:39:26 +00:00
Campbell Barton
66a4de07e0
excuse the noise, adding type's in format package names.
2010-09-01 03:06:28 +00:00
Campbell Barton
afe5c536fa
moving import/export scripts into packages (just moving scripts, need to add __init__.py still, temp break import/exporters)
2010-09-01 03:02:30 +00:00
Campbell Barton
16d26b7eb1
cleanup duplicate GPL haeders, blender made 2.4x __bpydoc__ into __doc__, removed version info, (thats what svn logs are for).
...
also moved create_derived_objects & free_derived_objects into io_utils, used by x3d and 3ds.
2010-09-01 02:48:23 +00:00
Campbell Barton
5036a9d20c
use mix-in classes for import export operators, these define the filepath property and invoke function at the moment.
2010-09-01 02:25:49 +00:00
Mitchell Stokes
d67eedcef9
Adding intern/guardedalloc include dir for bad_level_call_stubs (stubs.c). This update is for cmake and scons.
...
This is needed since RNA_types.h now includes BLO_sys_types.h
2010-08-31 23:55:41 +00:00
Dalai Felinto
a41c0a55d5
Fix for "RNA_enum_get: ActionActuator.mode not found.". It was broken since recent rna renaming
...
Found while looking at another bug, unfortunately it's unrelated :)
2010-08-31 22:27:54 +00:00
Thomas Dinges
614eb41c56
RNA Renaming Fixes for particle UI.
2010-08-31 15:12:24 +00:00
Campbell Barton
41a49a6bc9
simple NULL check to fix a crash when running in background mode
2010-08-31 14:56:14 +00:00
Thomas Dinges
a51f31e9a5
Fixes for RNA Renaming in Texture Properties (Volume Material)
2010-08-31 14:54:04 +00:00