October 27, 2015, 14:29 (GMT) |
BGE: Fix T43218: Text of framerate and profile glitch in Multitexture shading Fix T43218: Text of framerate and profile glitch in Multitexture shading Reviewers: lordloki, panzergame Reviewed By: panzergame Subscribers: medved Projects: #game_engine Maniphest Tasks: T43218 Differential Revision: https://developer.blender.org/D1536 |
October 27, 2015, 14:05 (GMT) |
Merge branch 'master' into asset-engine |
Revision 6bf915e by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) October 27, 2015, 14:04 (GMT) |
Merge branch 'master' into id-remap |
October 27, 2015, 13:29 (GMT) |
View3D offscreen buffer was interferring with view navigation the RegionView3D matrices need to be re-set after drawing. Review and touch ups by Campbell Barton |
Revision e6d181c by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 27, 2015, 12:19 (GMT) |
tiny fixes for autohide and attempt to get rid of propagateDamage crashes (again) |
October 27, 2015, 11:53 (GMT) |
Fix: Open tmp windows with size multiplied by virtual pixelsize Opening a tmp window on a 4K display with virtual pixelsize set to double results in a too small window. For Retina this seems to be handled on GHOST level already, so multiply by virtual pixelsize only. |
October 27, 2015, 11:32 (GMT) |
Added a float4 type for rgba colors mostly. |
October 27, 2015, 10:49 (GMT) |
Fix T46606: Trackball Rotate jumps releasing shift |
Revision e3254e3 by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 27, 2015, 10:32 (GMT) |
attempted fixes for : autohide, damage propagation in compounds (was crashing after some time) and compound parameter changes do reset the cache now, too |
October 27, 2015, 10:10 (GMT) |
BGE: Fix T31357: wrong zoom when sets camera. This patch makes independant the override camera zoom and the default camera object zoom. The override zoom is 2.0f and the camera object zoom is computed with the RegionView3D camera zoom. These features are only used for the embedded BGE, so there's no compatibility issues with the blenderplayer. I let the override zoom with a setter to allow later to create an override camera in blenderplayer easily. Tested with the 3 framing modes in embedded and standalone. |
October 27, 2015, 09:16 (GMT) |
Internal support for 4x4 matrices in the bvm types. |
October 26, 2015, 19:27 (GMT) |
BGE: generic python callback list + replace KX_PythonSeq. I made this patch to declared a python list without converting all elements in python object (too slow) or use a CListValue which required CValue items (too expensive in memory). In the case of a big list of points like a collision contacts points list, to use a CListValue we must implement a new class based on CValue for 3D vector to create a python proxy even if mathutils do it perfectly, we must also convert all points (frequently ~100 points) when fill the CListValue even if the list is not used (in the case of the collision callback). The easy way is to use callback (it doesn't worth to do an inheritance) which convert the item in PyObject only during an acces. 5 callbacks are used : - Check if the list is valid = allow acces (like PyObjectPlus.invalid) - Get the list size - Get an item in the list by index. - Get an item name in the list by index (used for operator `list["name"]`) - Set an item in the list at the index position. All of these callback take as first argument the client instance. Why do we use a void * for the client instance ? : In KX_PythonInitTypes.cpp we have to initialize each python inherited class, if we use a template (the only other way) we must add this class each time we use a new type with in KX_PythonInitTypes.cpp To check if the list can be accessed from python by the user, we check if the python proxy, which is the `m_base` member, is still a valid proxy like in PyObjectPlus. But we can use a callback for more control of user access (e.g a list of collision point invalidate a frame later, in this case no real python owner). This python list is easily defined with : ``` CPythonCallBackList( void *client, // The client instance PyObject *base, // The python instance which owned this list, used to know if the list is valid (like in KX_PythonSeq) bool (*checkValid)(void *), // A callback to check if this list is till valid (optional) int (*getSize)(void *), // A callback to get size PyObject *(*getItem)(void *, int), // A callback to get an item const char *(*getItemName)(void *, int), // A callback to get an item name (optional) use for acces by string key bool (*setItem)(void *, int, PyObject *) // A callback to set an item (optional) ) ``` To show its usecase i replaced the odd KX_PythonSeq, it modify KX_Gameobject.sensors/controllers/actuators, SCA_IController.sensors/actuators and BL_ArmatureObject.constraints/channels. Example : {F245193}, See message in console, press R to erase the object and see invalid proxy error message. Reviewers: brita_, #game_python, youle, campbellbarton, moguri, agoose77, sergey Reviewed By: campbellbarton, moguri, agoose77, sergey Subscribers: sergey Projects: #game_engine Differential Revision: https://developer.blender.org/D1363 |
Revision 2dfdbe4 by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 26, 2015, 19:25 (GMT) |
calculating minimum impulse per object now, also made solver iteration settings not visible for compounds any more (they relate only to constraints) |
October 26, 2015, 15:37 (GMT) |
Fix T46537: UV Image Editor. UV Sculpt toggle button doesn't show hotkey label when active. Poll function of that keymap was slightly... agressive. |
Revision 5cb7c07 by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 26, 2015, 14:34 (GMT) |
attempt to fix some (stack overflow related ?) crashes |
Revision fe4909e by Martin Felke (fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 26, 2015, 13:43 (GMT) |
tiny fix, forgot to assign ids to meshislands in splitshards to island mode |
October 26, 2015, 13:10 (GMT) |
Fix broken comment about our WM progress report for python (its not a progress bar at all). |
October 26, 2015, 12:08 (GMT) |
Renamed 'effector' data to 'point' data. |
October 26, 2015, 11:55 (GMT) |
Fix T46604: Crash in ChainPredicateIterator instantiated without predicates. Also fixed a potential crash in the copy constructor case. |
October 26, 2015, 11:55 (GMT) |
Freestyle: minor speed-up by omitting the calculation of the smallest edge size. BlenderFileLoader tries to find the smallest edge size but the computed value is not used. |
|
|
|


Master Commits
MiikaHweb | 2003-2021