Commit Graph

25858 Commits

Author SHA1 Message Date
Campbell Barton
28d18d59a3 bugfix [#22831] transform problem with hidden parent object
dont allow selecting of hidden objects or restrict selected object by using the BASE_SELECTABLE macro.
2010-09-07 10:24:12 +00:00
Campbell Barton
ea95d71067 bugfix [#23189] Num-0 swtich to Camera view and back doesn't respect UserPerspective view.
also fix for recent cmake edits.
2010-09-07 09:15:59 +00:00
Thomas Dinges
db775721c8 Windows Installer:
* Remove text "(Requires Windows 2000 or better)", as we don't support Windows 2000 anymore. 
* Fixed link in Help.url
2010-09-07 08:16:28 +00:00
Campbell Barton
ae0d99291f bugfix [#23656] Problems retrieving properties from inside runtime-created PointerProperties
Setting the classes __dict__ member directly didnt update the types slots (python internal type stuff used with subclassing), so class.bl_rna was returning an incorrect value.

Set the value using typical python setattr command.
2010-09-07 08:10:19 +00:00
Joshua Leung
51d996ab36 Bugfix #23707: Autokey Available is ignored on a Clear Transform
Checks are now done to see if only the active KeyingSet should be used instead of always using a hardcoded value only.
2010-09-07 03:58:50 +00:00
Nicholas Bishop
2ffa9e1309 == Sculpt ==
Fixed bug #23654
Brush copy clears its preview, so that the copied brush's icon isn't linked to the old brush
2010-09-07 03:02:03 +00:00
Campbell Barton
fd53393a5d patch [#23650] fix stubs.c for optimized build
from Filiciss Muhgue (filiciss)

--- from the tracker submission
if compile Blender with /GL on msvc, linker error LNK1237 occur on building blenderplayer.exe.
http://msdn.microsoft.com/en-us/library/at5twzkt(v=VS.90).aspx
2010-09-07 02:39:32 +00:00
Campbell Barton
ab07ba84bf patch [#23703] Fix for Level compositing node; correct color representation
from Alexander Kuznetsov (alexk) 

--- copied from the tracker
Every image inside Blender is in linear color space and gets converted to SRGB upon saving.
Level node analyzed the linear image, which was not the one user saw because other output nodes converted image  to
sRGB.
This fix analyzes the image that user see (converting it to correct color space).
Here is difference:
http://www.pasteall.org/pic/show.php?id=5559

First histogram (before the fix) tells that image is underexposed, which is not the case.
2010-09-07 02:36:51 +00:00
Campbell Barton
2406ebe1a4 - added back zlib include (needed for win32).
- use list append in more places.
- remove non existing include dir.
2010-09-07 01:13:10 +00:00
Campbell Barton
e0aca888de bugfix [#23464] Crash on Tab
OBJ importing edges would produce corrupt meshes because face edges were not created.
2010-09-07 00:32:45 +00:00
Campbell Barton
0a2e0b28bf bugfix [#23631] Faces and edges missing in edit mode
there was no way to clear fgons.
2010-09-07 00:20:31 +00:00
Campbell Barton
59ac5b0930 in response to bug [#23701] Edit Mode: unable to bind vertex/edge/face select modes to keys
while not a bug, being able to cycle over vertex/edge/face modes is useful. added an operator to cycle an array, could be used for cycling the active layer or mesh edit mode.
2010-09-06 22:43:09 +00:00
Campbell Barton
6b6d6304e2 bugfix [#23702] Parent to hidden object crashes 2010-09-06 22:10:51 +00:00
Campbell Barton
67d2060450 bugfix [#23704] Background image does not support special german letters 2010-09-06 22:00:15 +00:00
Campbell Barton
99954545ee bugfix [#23656] Problems retrieving properties from inside runtime-created PointerProperties
cant test if this fix solves the problem matt is having but it at least fixes an error caused by classes created in exec(),
when the properties pointers were copied the hash key still referred to the python object which could be freed. in most cases this wouldnt happen (would be kept in bytecode) but with exec() the property string is freed immediately.
2010-09-06 15:54:08 +00:00
Campbell Barton
f6c68f1019 bugfix [#23663] relative path dind work on linux 2010-09-06 13:28:57 +00:00
Campbell Barton
259b4c12e3 bugfix [#23674] Fix for texture path corruptions (bug 23337)
from Mathew Burrack (mburrack) 
...also applied a fix so this flag wont be written but including this patch for older startup.blend's.

--- from the tracker
I've created a patch for the texture path corruption bug, 23337. Basically, G_FILE_RELATIVE_REMAP was improperly getting
saved out to the startup.blend file, causing issues when the autosave timer went off. The proper fix is to mask out
that flag so it doesn't get written out to .blend files itself, but since that doesn't fix any pre-existing startup.blend
files, I just mask it out when startup.blend is read in instead.

I've tested it locally and so far, it seems to fix all the issues I've had with texture image paths getting corrupted.
I haven't figured out how to properly test the remap-on-save option in the save as dialog, though, so I don't know if
I accidentally broke that or not (although I don't see how I could have).
2010-09-06 12:54:54 +00:00
Campbell Barton
629c19ff87 bugfix [#23593] using material_slot.material=material_slot.material.copy() causes inescapable loop and blender to hang 2010-09-06 11:29:23 +00:00
Janne Karhu
a436adf26d Fix for [#23028] Driver gets remapped when importing 2.49 file
* Rotation drivers weren't converted properly from ipos to fcurves.
2010-09-06 10:35:32 +00:00
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