Blender Game Engine import error #44704

Closed
opened 2015-05-13 23:58:27 +02:00 by Oren Titane · 7 comments

System Information
Ubuntu 14.04.2 LTS 64-bit
AMD A8-5550M APU with Radeon(tm) HD Graphics × 4
AMD Radeon HD 8550G

Blender Version
Broken: 2.74 000dfc0
Worked: 2.73b and older

In blender game engine, users where able to import KX_GameObject from bge.types, now blender requires to import types from bge to be able to use KX_GameObject as follows: "types.KX_GameObject".

Exact steps for others to reproduce the error
Open blender in terminal and press P to run.
BGE_import_bug_000dfc0.blend

**System Information** Ubuntu 14.04.2 LTS 64-bit AMD A8-5550M APU with Radeon(tm) HD Graphics × 4 AMD Radeon HD 8550G **Blender Version** Broken: 2.74 000dfc0 Worked: 2.73b and older In blender game engine, users where able to import KX_GameObject from bge.types, now blender requires to import types from bge to be able to use KX_GameObject as follows: "types.KX_GameObject". **Exact steps for others to reproduce the error** Open blender in terminal and press P to run. [BGE_import_bug_000dfc0.blend](https://archive.blender.org/developer/F174219/BGE_import_bug_000dfc0.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Inês Almeida was assigned by Oren Titane 2015-05-13 23:58:27 +02:00
Author

Added subscriber: @Genome36

Added subscriber: @Genome36
Author

2.73b and older:

from bge.types import KX_GameObject
class obj(KX_gameObject):
    def __init__(self, own):

2.74:

from bge import types
class obj(types.KX_gameObject):
    def __init__(self, own):
2.73b and older: ``` from bge.types import KX_GameObject ``` ``` class obj(KX_gameObject): def __init__(self, own): ``` 2.74: ``` from bge import types ``` ``` class obj(types.KX_gameObject): def __init__(self, own):
Member

bisected this to my own commit 2699866720

bisected this to my own commit 2699866720

This issue was referenced by 5b8af1d1f1

This issue was referenced by 5b8af1d1f1940a879e81fdb0107eb4cf42455dd2

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This issue was referenced by 12de321a01

This issue was referenced by 12de321a01144992a9c6768a464233e1a95d2ef0
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#44704
No description provided.